import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const ModeRequired: { readonly Required: "required"; }; export type ModeRequired = ClosedEnum; export declare const ModeAuto: { readonly Auto: "auto"; }; export type ModeAuto = ClosedEnum; export type Mode = ModeAuto | ModeRequired; export declare const ToolChoiceAllowedType: { readonly AllowedTools: "allowed_tools"; }; export type ToolChoiceAllowedType = ClosedEnum; /** * Constrains the model to a pre-defined set of allowed tools */ export type ToolChoiceAllowed = { mode: ModeAuto | ModeRequired; tools: Array<{ [k: string]: any | null; }>; type: ToolChoiceAllowedType; }; /** @internal */ export declare const ModeRequired$inboundSchema: z.ZodEnum; /** @internal */ export declare const ModeRequired$outboundSchema: z.ZodEnum; /** @internal */ export declare const ModeAuto$inboundSchema: z.ZodEnum; /** @internal */ export declare const ModeAuto$outboundSchema: z.ZodEnum; /** @internal */ export declare const Mode$inboundSchema: z.ZodType; /** @internal */ export type Mode$Outbound = string | string; /** @internal */ export declare const Mode$outboundSchema: z.ZodType; export declare function modeToJSON(mode: Mode): string; export declare function modeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ToolChoiceAllowedType$inboundSchema: z.ZodEnum; /** @internal */ export declare const ToolChoiceAllowedType$outboundSchema: z.ZodEnum; /** @internal */ export declare const ToolChoiceAllowed$inboundSchema: z.ZodType; /** @internal */ export type ToolChoiceAllowed$Outbound = { mode: string | string; tools: Array<{ [k: string]: any | null; }>; type: string; }; /** @internal */ export declare const ToolChoiceAllowed$outboundSchema: z.ZodType; export declare function toolChoiceAllowedToJSON(toolChoiceAllowed: ToolChoiceAllowed): string; export declare function toolChoiceAllowedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=toolchoiceallowed.d.ts.map