import type { ToolResult } from "../../types.js"; export interface SpawnArgvArgs { command: string; argv: string[]; cwd?: string | undefined; timeoutMs?: number | undefined; signal?: AbortSignal | undefined; onOutput?: ((chunk: string, stream: "stdout" | "stderr") => void) | undefined; maxModelBytes?: number | undefined; maxCaptureBytes?: number | undefined; onLimit?: "terminate" | "continue" | undefined; artifactPath?: string | undefined; noArtifact?: boolean | undefined; stdinText?: string | undefined; interactiveStdin?: boolean | "auto" | undefined; } export declare function spawnArgv(args: SpawnArgvArgs): Promise;