import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FunctionCall, FunctionCall$Outbound } from "./functioncall.js"; export type ToolCall = { id?: string | undefined; type?: string | undefined; function: FunctionCall; index?: number | undefined; }; /** @internal */ export declare const ToolCall$inboundSchema: z.ZodType; /** @internal */ export type ToolCall$Outbound = { id: string; type?: string | undefined; function: FunctionCall$Outbound; index: number; }; /** @internal */ export declare const ToolCall$outboundSchema: z.ZodType; export declare function toolCallToJSON(toolCall: ToolCall): string; export declare function toolCallFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=toolcall.d.ts.map