import type { Bundle } from './types'; import type { BuildConfigEntries } from '@beesbuild/utils'; import type { OutputOptions, RollupOptions, RollupWatchOptions } from 'rollup'; import type { BuildContext } from '../types'; export declare function getRollupOptions(ctx: BuildContext): RollupOptions; export declare function rollupBuild(ctx: BuildContext): Promise<{ watchOptions: RollupWatchOptions; build: () => Promise; copy: () => Promise[]>; watch: () => Promise; } | undefined>; /** * 批量复制包 * @param bundle * @param options */ export declare const copyBundles: (bundle: Bundle, options: BuildConfigEntries) => Promise[]>; /** * 批量写包 * @param bundle * @param options */ export declare function writeBundles(bundle: Partial, options: OutputOptions[]): Promise;