export interface ShellResult { ok: boolean; code: number; stdout: string; stderr: string; timedOut: boolean; } export declare function runCommand(cmd: string, args: string[], cwd: string, timeoutMs?: number): ShellResult; /** Like `runCommand`, without blocking, so independent CLI probes can run side by side. */ export declare function runCommandAsync(cmd: string, args: string[], cwd: string, timeoutMs?: number): Promise; export declare function commandExists(command: string): boolean;