export interface CommandRunnerResult { stdout: string; stderr: string; exitCode: number; timedOut?: boolean; aborted?: boolean; } export interface CommandRunnerOptions { cwd?: string; env?: Record; stdin?: string | Buffer; timeoutMs?: number; signal?: AbortSignal; } export type CommandRunner = (command: string, args: string[], options?: CommandRunnerOptions) => Promise; export declare function runCommand(command: string, args: string[], inputOptions?: CommandRunnerOptions): Promise;