import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type ChatCompletionMessageToolCallFunction = { /** * The name of the function to call. */ name: string; /** * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. */ arguments: string; }; /** @internal */ export declare const ChatCompletionMessageToolCallFunction$inboundSchema: z.ZodType; /** @internal */ export type ChatCompletionMessageToolCallFunction$Outbound = { name: string; arguments: string; }; /** @internal */ export declare const ChatCompletionMessageToolCallFunction$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ChatCompletionMessageToolCallFunction$ { /** @deprecated use `ChatCompletionMessageToolCallFunction$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ChatCompletionMessageToolCallFunction$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ChatCompletionMessageToolCallFunction$Outbound` instead. */ type Outbound = ChatCompletionMessageToolCallFunction$Outbound; } export declare function chatCompletionMessageToolCallFunctionToJSON(chatCompletionMessageToolCallFunction: ChatCompletionMessageToolCallFunction): string; export declare function chatCompletionMessageToolCallFunctionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatcompletionmessagetoolcallfunction.d.ts.map