/// import webpack from "webpack"; export declare function simpleCompiler(webpackType: webpack.Compiler | webpack.Configuration): import("events").EventEmitter & { webpackConfig: webpack.Configuration; webpackCompiler: webpack.Compiler; isCompiling(): boolean; getCompilation(): { duration?: number | undefined; stats?: webpack.Stats | undefined; }; getError(): import("../types/compiler").ErrWithStats | null; assertIdle(calledMethod: string): void; run(_args?: any): Promise; watch(options?: webpack.ICompiler.WatchOptions | undefined, handler?: ((err: Error | undefined, stats: { duration?: number | undefined; stats?: webpack.Stats | undefined; }) => void) | undefined): () => void; unwatch(_args?: any): Promise; resolve(): Promise; };