import type { IMastraLogger } from '@mastra/core/logger';
import type { Config as MastraConfig } from '@mastra/core/mastra';
import type { RollupOutput } from 'rollup';
export declare function extractMastraOptionBundler(name: keyof MastraConfig, entryFile: string, result: {
    hasCustomConfig: boolean;
}, logger?: IMastraLogger): Promise<import("rollup").RollupBuild>;
export declare function extractMastraOption<T extends keyof MastraConfig>(name: T, entryFile: string, outputDir: string, logger?: IMastraLogger): Promise<{
    bundleOutput: RollupOutput;
    getConfig: () => Promise<MastraConfig[T]>;
} | null>;
//# sourceMappingURL=extract-mastra-option.d.ts.map