import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { GrammarFormat, GrammarFormat$Outbound } from "./grammarformat.js"; import { TextFormat, TextFormat$Outbound } from "./textformat.js"; export type CustomToolFormat = TextFormat | GrammarFormat; /** @internal */ export declare const CustomToolFormat$inboundSchema: z.ZodType; /** @internal */ export type CustomToolFormat$Outbound = TextFormat$Outbound | GrammarFormat$Outbound; /** @internal */ export declare const CustomToolFormat$outboundSchema: z.ZodType; export declare function customToolFormatToJSON(customToolFormat: CustomToolFormat): string; export declare function customToolFormatFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customtoolformat.d.ts.map