import type { ScriptToolResult } from "./wave-protocol.js"; type CallTool = (name: string, args: unknown, options?: { poll?: boolean; }) => Promise; /** * Thin exec helper that dispatches to tools.bash via callTool. * * When CHATGPT_WEB_CODE_EXEC === "0", throws a disabled error and performs * no shell I/O. */ export declare function createExec(callTool: CallTool): { (command: string, options?: { cwd?: string; }): Promise; }; export {}; //# sourceMappingURL=exec.d.ts.map