import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FunctionName, FunctionName$Outbound } from "./functionname.js"; import { ToolTypes } from "./tooltypes.js"; /** * ToolChoice is either a ToolChoiceEnum or a ToolChoice */ export type ToolChoice = { type?: ToolTypes | undefined; /** * this restriction of `Function` is used to select a specific function to call */ function: FunctionName; }; /** @internal */ export declare const ToolChoice$inboundSchema: z.ZodType; /** @internal */ export type ToolChoice$Outbound = { type?: string | undefined; function: FunctionName$Outbound; }; /** @internal */ export declare const ToolChoice$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 ToolChoice$ { /** @deprecated use `ToolChoice$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ToolChoice$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ToolChoice$Outbound` instead. */ type Outbound = ToolChoice$Outbound; } export declare function toolChoiceToJSON(toolChoice: ToolChoice): string; export declare function toolChoiceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=toolchoice.d.ts.map