import type { CodeRuntime } from '../../execution/code-runtime/types.js'; export declare const RUN_CODE_TOOL_NAME = "run_code"; export interface RunCodeToolOptions { /** Defaults to the `worker_threads` backend. */ readonly runtime?: CodeRuntime; readonly timeoutMs?: number; readonly maxOutputBytes?: number; /** * What a successful `call()` resolves to. Default: `text` (ToolResult.output). * `structured` returns `{ output, data? }`, preserving JSON tool data for * local filtering. Failures still reject; authority and dispatch are unchanged. */ readonly toolResultMode?: 'text' | 'structured'; } export declare function buildRunCodeTool(options?: RunCodeToolOptions): import("../../public-types.js").ToolDefinition<{ code: string; tools: string[]; }>; //# sourceMappingURL=run-code.d.ts.map