import EventEmitter from 'events'; export default class AppWatcher extends EventEmitter { private appName; private args; private ignore; private watcher; private currentChildProcess; private stopping; private fileEventsBuffer; private restartTimeout; private ready; private readlineInterface; constructor(appName: string, args: Record, ignore?: string[]); run(): void; stop(): void; kill(): void; restart(): void; private spawnSubProcess; }