import type * as child_process from "child_process"; import type { IExecOptions, ISpawnFromEventOptions, ISpawnResult } from "../common/declarations"; export declare abstract class ChildProcess { abstract exec(command: string, options?: any, execOptions?: IExecOptions): Promise; abstract execFile(command: string, args: string[]): Promise; abstract spawn(command: string, args?: string[], options?: any): child_process.ChildProcess; abstract spawnFromEvent(command: string, args: string[], event: string, options?: any, spawnFromEventOptions?: ISpawnFromEventOptions): Promise; abstract trySpawnFromCloseEvent(command: string, args: string[], options?: any, spawnFromEventOptions?: ISpawnFromEventOptions): Promise; abstract tryExecuteApplication(command: string, args: string[], event: string, errorMessage: string, condition?: (childProcess: any) => boolean): Promise; abstract fork(modulePath: string, args?: string[], options?: { cwd?: string; env?: any; execPath?: string; execArgv?: string[]; silent?: boolean; uid?: number; gid?: number; }): any; } export interface ChildProcess extends NodeJS.EventEmitter { }