import * as webpack from 'webpack'; export declare function getDefaultConfig(context: string): webpack.Configuration; declare type GenerateFunction = (config: webpack.Configuration) => webpack.Configuration; export declare function createOutput(outputDir?: string): (config: webpack.Configuration) => webpack.Configuration; export declare function addEntry(bundleName: string, filename: string): (config: webpack.Configuration) => webpack.Configuration; export declare function createHtml(filename: string, excludeChunks: string[]): (config: webpack.Configuration) => webpack.Configuration; export declare function createResolve(): (config: webpack.Configuration) => webpack.Configuration; export declare function setSourceMap(dev: boolean): (config: webpack.Configuration) => webpack.Configuration; export declare function addExternals(externals: webpack.ExternalsObjectElement): (config: webpack.Configuration) => webpack.Configuration; export declare function generateConfig(cwd: string, fns: GenerateFunction[]): webpack.Configuration; export declare function setTargetConfig(target: string): (config: webpack.Configuration) => webpack.Configuration; export declare function getServerDebugConfig(cwd: string): webpack.Configuration; export declare function getDebuggerConfig(cwd: string): webpack.Configuration; export declare function getNodeConfig(cwd: string): webpack.Configuration; export declare function getWxgameConfig(cwd: string): webpack.Configuration; export {};