export interface RunCommandOptions { cwd?: string; /** Kill the process after this many ms. Resolves with code 124 and stderr note. */ timeoutMs?: number; } export interface RunCommandResult { code: number; stdout: string; stderr: string; /** True when process was killed due to timeoutMs. */ timedOut?: boolean; } export declare function runCommand(command: string, args: string[], options?: RunCommandOptions): Promise;