class Process { waitForLineOutput(regex: RegExp, timeout?: number): Promise<string>; }
Returns:
Promise<string>