export type ExecResult = { stdout: string; stderr: string; code: number; killed: boolean; stdoutTruncated?: boolean; }; export type ExecOptions = { cwd: string; signal?: AbortSignal; /** Omit for the default timeout; null disables elapsed-time expiry. */ timeoutMs?: number | null; stdoutLimitBytes?: number; stdoutTailBytes?: number; stderrLimitBytes?: number; stdin?: string; }; export type Exec = (command: string, args: string[], options: ExecOptions) => Promise; /** Run one argv-only child process with bounded streaming output and cancellation. */ export declare const spawnBounded: Exec;