import type { IOpts as IConfigOpts } from './config/config'; import { IConfig } from './types'; type IOpts = { afterMiddlewares?: any[]; beforeMiddlewares?: any[]; onDevCompileDone?: Function; onProgress?: Function; port?: number; host?: string; ip?: string; babelPreset?: any; chainWebpack?: Function; modifyWebpackConfig?: Function; beforeBabelPlugins?: any[]; beforeBabelPresets?: any[]; extraBabelPlugins?: any[]; extraBabelPresets?: any[]; cwd: string; rootDir?: string; config: IConfig; entry: Record; onBeforeMiddleware?: Function; disableCopy?: boolean; } & Pick; export declare function dev(opts: IOpts): Promise; export declare function setup(opts: IOpts): Promise<{ webpackConfig: import("../compiled/webpack/types").Configuration; }>; export {};