import { createExec } from "./exec.js"; import { createRegistry } from "./registry.js"; import { createSkillApi } from "./skills.js"; import type { CodeToolCall } from "./types.js"; import type { ScriptToolResult } from "./wave-protocol.js"; import { createPollApi } from "./poll.js"; type CallTool = (name: string, args: unknown, options?: { poll?: boolean; }) => Promise; /** Test-only: clear the boot latch so the next call re-reads the env. */ export declare function __resetWarpLatchForTesting(): void; export declare function createToolsApi(callTool: CallTool, allowedTools: readonly string[]): Record Promise>; export declare function createCodeModeApi(callTool: CallTool): { batch(calls: CodeToolCall[]): Promise; retry(operation: () => Promise, options?: { attempts?: number; delayMs?: number; }): Promise; sleep(ms: number): Promise; recall(id: string): Promise; store(text: string): Promise; warp(args: { path: string; find: string; replace: string; }): Promise; exec: ReturnType; registry: ReturnType; skills: ReturnType; poll: ReturnType["poll"]; monitor: ReturnType["monitor"]; }; export {}; //# sourceMappingURL=codemode-api.d.ts.map