///
import * as webpack from 'webpack';
import { Command } from './commands/command';
export interface WebpackStat {
compilation: {
assets: any;
};
}
export declare class Webpack {
command: Command;
static addEntry(webpackConfig: webpack.Configuration, filename: string): webpack.Configuration;
static addPlugin(webpackConfig: webpack.Configuration, command: Command, plugin: string | (new (...args: any[]) => any), options?: any): webpack.Configuration;
private static getRule(webpackConfig, loaderList);
static hasHTMLRule(webpackConfig: webpack.Configuration): any;
static hasCSSRule(webpackConfig: webpack.Configuration): boolean;
static getCSSRule(webpackConfig: webpack.Configuration): webpack.NewModule | void;
static hasBabelRule(webpackConfig: webpack.Configuration): boolean;
static hasTypeScriptRule(webpackConfig: webpack.Configuration): boolean;
static getBabelRule(webpackConfig: webpack.Configuration): webpack.NewModule | void;
static getTypeScriptRule(webpackConfig: webpack.Configuration): webpack.NewModule | void;
constructor(command: Command);
config(dev: boolean): webpack.Configuration;
prepare(activeTasks: any[], base: webpack.Configuration, dev?: boolean): Promise;
report(stats: WebpackStat): void;
process(config: webpack.Configuration, dev?: boolean): void;
}