/// import webpack from "webpack"; import { ObserveWebpackIsoCompilerState, ErrWithStats } from "../types/compiler"; export declare function universalCompiler(client: webpack.Compiler | webpack.Configuration, server: webpack.Compiler | webpack.Configuration): import("events").EventEmitter & { client: { webpackConfig: webpack.Configuration; webpackCompiler: webpack.Compiler; }; server: { webpackConfig: webpack.Configuration; webpackCompiler: webpack.Compiler; }; isCompiling(): boolean; getCompilation(): { duration?: number | undefined; clientStats?: webpack.Stats | undefined; serverStats?: webpack.Stats | undefined; }; getError(): ErrWithStats | null; run(): Promise<{ duration?: number | undefined; clientStats?: webpack.Stats | undefined; serverStats?: webpack.Stats | undefined; }>; watch(options?: webpack.ICompiler.WatchOptions | undefined, handler?: ((err: Error | undefined, stats: { duration?: number; clientStats?: webpack.Stats; serverStats?: webpack.Stats; }) => void) | undefined): () => void; unwatch(): Promise; resolve(): Promise; };