import type { RollupWatcher } from '../../../compiled/rollup';
import type { BundleOptions, Entry } from '../../types';
export type { RollupWatcher };
declare type Config = {
  distDir: string;
  tsconfigPath: string;
  externals: BundleOptions['externals'];
  entry: Entry;
  watch: boolean;
};
export declare const runRollup: ({
  distDir,
  tsconfigPath,
  externals,
  entry,
  watch
}: Config) => Promise<RollupWatcher | import("../../../compiled/rollup").RollupBuild>;