///
import { EventEmitter } from 'events';
import webpack from 'webpack';
import Runner from '../../../runner';
import { BuildWorkspace } from '../config/build-workspace';
import { WarmupState } from './warmup-state';
export interface Options {
hot: boolean;
disableHotErrorOverlay: boolean;
disableHotFullReload: boolean;
logReactUpdates: boolean;
browser?: string;
ignoreWarnings?: boolean;
}
export default class Client extends EventEmitter {
private compilerManager;
private developmentServer;
constructor();
on(event: 'compile', handler: () => void): this;
on(event: 'compile-error' | 'compile-succeeded', handler: (stats: webpack.Stats) => void): this;
on(event: 'compile-failed', handler: (error: Error) => void): this;
emit(event: 'compile'): boolean;
emit(event: 'compile-error' | 'compile-succeeded', stats: webpack.Stats): boolean;
emit(event: 'compile-failed', error: Error): boolean;
startDevelopmentServer(config: webpack.Configuration, warmupState: WarmupState, workspace: BuildWorkspace, runner: Runner, options?: Partial): Promise;
startCompilation(): Promise;
dispose(): Promise;
}
//# sourceMappingURL=client.d.ts.map