import { type OutputAsset, type OutputChunk } from 'rolldown';
import { OutputFileCache } from '../ng-package/nodes';
/**
 * Options used in `ng-packagr` for writing flat bundle files.
 *
 * These options are passed through to rolldown.
 */
export interface RolldownOptions {
    moduleName: string;
    entry: string;
    entryName: string;
    dir: string;
    fileCache: OutputFileCache;
    sourcemap: boolean;
}
/** Runs rolldown over the given entry file, writes a bundle file. */
export declare function rolldownBundleFile(opts: RolldownOptions): Promise<{
    files: (OutputChunk | OutputAsset)[];
}>;
