/** * Zod-to-JSON-Schema converter used by the `SchemaValidator` adapter. * * Operates directly on zod's internal `_def` shape to preserve the adapter's * stable v3 and v4 compatibility behavior. It is confined to * `extensions/ext-schema-zod/` so the rest of the codebase never imports zod * to learn what a tool's input schema looks like. * * @module extensions/ext-schema-zod/json-schema */ import type { z } from "zod"; import type { JsonSchema } from "veryfront/extensions/schema"; /** Record a literal default without evaluating Zod's possibly dynamic getter. */ export declare function recordStaticJsonSchemaDefault(schema: z.ZodTypeAny, value: unknown): void; export declare function zodToJsonSchema(schema: z.ZodTypeAny): JsonSchema; export declare function isOptionalSchema(schema: z.ZodTypeAny): boolean; //# sourceMappingURL=json-schema.d.ts.map