import * as Chain from 'webpack-chain'; import * as webpack from 'webpack'; export declare const resolveOptions: (options: any, defaultOptions: any) => any; export declare function createRules(config: Chain, { lang, test }: { lang: string; test: webpack.Condition; }): Chain.Rule; export declare function createPlugin(config: Chain, name: string, plugin: Chain.PluginClass, options?: any): Chain.Plugin;