import * as child_process from "child_process"; import { EventEmitter } from "events"; import { IChildProcess, IErrors, IExecOptions, ISpawnFromEventOptions, ISpawnResult } from "./declarations"; export declare class ChildProcess extends EventEmitter implements IChildProcess { private $logger; private $errors; constructor($logger: ILogger, $errors: IErrors); exec(command: string, options?: any, execOptions?: IExecOptions): Promise; execFile(command: string, args: string[]): Promise; spawn(command: string, args?: string[], options?: any): child_process.ChildProcess; fork(modulePath: string, args?: string[], options?: any): child_process.ChildProcess; spawnFromEvent(command: string, args: string[], event: string, options?: any, spawnFromEventOptions?: ISpawnFromEventOptions): Promise; trySpawnFromCloseEvent(command: string, args: string[], options?: any, spawnFromEventOptions?: ISpawnFromEventOptions): Promise; tryExecuteApplication(command: string, args: string[], event: string, errorMessage: string, condition: (_childProcess: any) => boolean): Promise; private tryExecuteApplicationCore; private getArgumentsAsQuotedString; }