export interface CommandResult { exitCode: number; stdout: string; stderr: string; durationMs: number; } /** * Run a command in a worktree directory - arbitrated by workspace locks * according to its classification. */ export declare function runCommand(command: string, cwd: string, options?: { timeout?: number; maxOutputBytes?: number; /** Max wait for a busy workspace before failing (default 10 min). */ lockWaitMs?: number; /** Escape hatch for flows that already hold an outer lock. */ arbitrate?: boolean; }): Promise; /** * Run a verification step command. * Returns the result with exit code and output. */ export declare function runVerificationCommand(step: string, cwd: string, timeoutMs?: number): Promise;