import chokidar from '../../compiled/chokidar'; import { FastscConfig, PkgType } from '../types'; interface IBuilderOpts { userConfig: FastscConfig; cwd: string; pkg: PkgType; clean?: boolean; quiet?: boolean; } interface IWatchBuilderResult { close: chokidar.FSWatcher['close']; } declare function builder(opts: IBuilderOpts): Promise; declare function builder(opts: IBuilderOpts & { watch: true; }): Promise; export default builder;