export interface RunCommandOptions { cwd?: string; signal?: AbortSignal; timeoutMs?: number; stdio?: "captured" | "inherit"; trim?: boolean; /** * Explicit subprocess env, replacing (not merging with) the inherited host * env — matching `execFileSync`'s own semantics. Callers that want the host * env plus overrides (e.g. relocating an agent's config-dir var) build that * merge themselves before calling in, the same pattern the shell adapter * uses for its own subprocess spawns. Only honored for the default * (`captured`) mode — no caller needs it under `stdio: "inherit"` yet. */ env?: NodeJS.ProcessEnv; } export declare function runCommand(command: string, arguments_: readonly string[], options: RunCommandOptions & { stdio: "inherit"; }): void; export declare function runCommand(command: string, arguments_: readonly string[], options?: RunCommandOptions & { stdio?: "captured"; }): string; export declare function runCommandAsync(command: string, arguments_: readonly string[], options: RunCommandOptions & { stdio: "inherit"; }): Promise; export declare function runCommandAsync(command: string, arguments_: readonly string[], options?: RunCommandOptions & { stdio?: "captured"; }): Promise; //# sourceMappingURL=commandRunner.d.ts.map