import type { RollupWatcher } from 'rollup'; import { ConfigOptions } from '../config/rollup'; export interface WatchRollupOptions { config?: ConfigOptions; onSuccessCommand?: string; onSuccessCallback?: (builds: number) => void; onStartCallback?: (builds: number) => void; } export declare function watchRollup(options?: WatchRollupOptions): Promise<{ watcher: RollupWatcher; cleanUp: () => void; }>;