export interface FlattenOpts { entryFile: string; outDir: string; flatModuleFile: string; esmModuleId: string; umdModuleId: string; comments: string; licensePath: string; /** List of module ids that should be embedded to the bundle. */ embedded?: string[]; /** Map of external UMD module ids that */ umdModuleIds?: { [key: string]: string; }; } export declare function writeFlatBundleFiles(opts: FlattenOpts): Promise; export declare function flattenToFesm15(opts: FlattenOpts): Promise; export declare function flattenToFesm5(opts: FlattenOpts): Promise; export declare function flattenToUmd(opts: FlattenOpts): Promise; export declare function flattenToUmdMin(opts: FlattenOpts): Promise;