import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const Mode: { readonly Auto: "auto"; readonly Required: "required"; }; export type Mode = ClosedEnum; export type AllowedToolsTools = { type: string; name?: string | undefined; serverLabel?: string | undefined; }; /** * Allowed tools tool choice: Restricts tool use to a provided list and sets whether tool use is optional (auto) or mandatory (required). */ export type AllowedTools = { type: "allowed_tools"; mode: Mode; tools: Array; }; /** @internal */ export declare const Mode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Mode$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AllowedToolsTools$inboundSchema: z.ZodType; /** @internal */ export type AllowedToolsTools$Outbound = { type: string; name?: string | undefined; server_label?: string | undefined; }; /** @internal */ export declare const AllowedToolsTools$outboundSchema: z.ZodType; export declare function allowedToolsToolsToJSON(allowedToolsTools: AllowedToolsTools): string; export declare function allowedToolsToolsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AllowedTools$inboundSchema: z.ZodType; /** @internal */ export type AllowedTools$Outbound = { type: "allowed_tools"; mode: string; tools: Array; }; /** @internal */ export declare const AllowedTools$outboundSchema: z.ZodType; export declare function allowedToolsToJSON(allowedTools: AllowedTools): string; export declare function allowedToolsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=allowedtools.d.ts.map