import webpack from '../compiled/webpack'; import type { IOpts as IConfigOpts } from './config/config'; import { IConfig } from './types'; type IOpts = { cwd: string; rootDir?: string; entry: Record; config: IConfig; onBuildComplete?: Function; babelPreset?: any; chainWebpack?: Function; modifyWebpackConfig?: Function; beforeBabelPlugins?: any[]; beforeBabelPresets?: any[]; extraBabelPlugins?: any[]; extraBabelPresets?: any[]; clean?: boolean; watch?: boolean; disableCopy?: boolean; } & Pick; export declare function build(opts: IOpts): Promise; export {};