import type { DefaultEncodingOption, EncodingOption, ExecaChildProcess, Options } from 'execa'; export interface WaitForOutputOptions extends Options { timeout?: number; } export interface MatchOutputResult { matches: string[]; process: ExecaChildProcess; } /** * Starts a process and matches the output against the passed regex. The match * result and process are returned, the user must manually kill the process * when they are finished with it. */ export declare function matchOutput(matcher: RegExp, command: string, args?: string[], opts?: WaitForOutputOptions): Promise; //# sourceMappingURL=match-output.d.ts.map