export type CommandResult = { stdout: string; stderr: string; exitCode: number; ok: boolean; }; export type FallbackChain = { method: string; command: string; }; export declare function runCommand(command: string, timeoutMs?: number): Promise; export declare function runWithFallback(chain: FallbackChain[], timeoutMs?: number): Promise<{ result: CommandResult; method: string; attempts: string[]; }>;