import type { RealtimeTool } from "./tools.js"; export type ShellMode = "full" | "readonly"; export interface ShellToolOptions { cwd: string; mode?: ShellMode; timeoutMs?: number; maxBufferBytes?: number; maxOutputChars?: number; shell?: string; readonlyCommands?: readonly string[]; } export interface ExecResult { cwd: string; command: string; stdout: string; stderr: string; code: number; truncated: boolean; denied?: string; } export declare function createShellTool(options: ShellToolOptions): RealtimeTool<{ command: string; }, ExecResult>; /** Resolve a CLI path without forcing library consumers to use process.cwd(). */ export declare function resolveShellCwd(value: string, base?: string): string; //# sourceMappingURL=exec.d.ts.map