export declare type OutputType = 'stdout' | 'stderr'; export declare type InternalOutputType = '_stdout' | '_stderr'; export declare class Output { private _stdoutHandlers; private _stderrHandlers; private _stdout; private _stderr; replaceStrings: Record; get stdout(): string[]; set stdout(value: string[]); get stderr(): string[]; set stderr(value: string[]); private processStdLineSet; private processStdLineGet; on: (handler: (line: string, type: OutputType) => void, type?: OutputType | undefined) => void; off: (handler: (line: string, type: OutputType) => void, type?: OutputType | undefined) => void; }