/** Exit code and captured output from a spawned child process. */ export interface CommandResult { code: number; stdout: string; stderr: string; } /** * Spawn a child process and collect its stdout/stderr. * * The process is killed with `SIGKILL` if it does not exit within * `options.timeoutMs` (default 20 000 ms). stdin is ignored. * * @throws When the child process cannot be spawned or the timeout is exceeded. */ export declare function runCommand(command: string, args: string[], options?: { cwd?: string; timeoutMs?: number; env?: NodeJS.ProcessEnv; }): Promise; //# sourceMappingURL=command-runner.d.ts.map