import { kr as AgentToolResult } from "../../index-fUjx6b6L.js"; import { Type } from "typebox"; //#region extensions/xai/code-execution-tool-shared.d.ts declare function buildMissingCodeExecutionApiKeyPayload(): { error: string; message: string; docs: string; }; declare function createCodeExecutionToolDefinition(execute: (toolCallId: string, args: Record) => Promise>): { label: string; name: string; description: string; parameters: Type.TObject<{ task: Type.TString; }>; execute: (toolCallId: string, args: Record) => Promise>; }; //#endregion export { buildMissingCodeExecutionApiKeyPayload, createCodeExecutionToolDefinition };