///
import EventEmitter from 'events';
import { Configuration as WebpackConfig, Stats } from 'webpack';
import Mocha from 'mocha';
import { MochapackOptions } from '../cli/argsParser/optionsFromParsedArgs/types';
export default class TestRunner extends EventEmitter {
entries: Array;
includes: Array;
options: MochapackOptions;
cwd: string;
constructor(entries: Array, includes: Array, options: MochapackOptions, cwd: string);
prepareMocha(webpackConfig: WebpackConfig, stats: Stats): Mocha;
run(): Promise;
watch(): Promise;
private createWebpackConfig;
}