import type { InputOptions, OutputOptions } from 'rollup';
import type { analyzeBundle } from './analyze/index.js';
import type { BundlerPlatform } from './utils.js';
export declare function getInputOptions(entryFile: string, analyzedBundleInfo: Awaited<ReturnType<typeof analyzeBundle>>, platform: BundlerPlatform, env: Record<string, string> | undefined, { sourcemap, isDev, projectRoot, workspaceRoot, enableEsmShim, externalsPreset, }: {
    sourcemap?: boolean;
    isDev?: boolean;
    workspaceRoot?: string;
    projectRoot: string;
    enableEsmShim?: boolean;
    externalsPreset?: boolean;
}): Promise<InputOptions>;
export declare function createBundler(inputOptions: InputOptions, outputOptions: Partial<OutputOptions> & {
    dir: string;
}): Promise<{
    write: () => Promise<import("rollup").RollupOutput>;
    close: () => Promise<void>;
}>;
//# sourceMappingURL=bundler.d.ts.map