import { ZodType } from 'zod'; import { JSONSchema7, JSONSchema7Definition } from 'json-schema'; /** * Converts a JSON Schema to a full Zod schema. * This export should be preferred when the schema uses allOf or if/then/else. */ declare function jsonSchemaToZodSchema(schema: JSONSchema7 | JSONSchema7Definition[]): ZodType; /** * Converts a JSON Schema to a Zod shape. * This is kept for compatibility with the previous API. */ declare function jsonSchemaToZod(schema: JSONSchema7 | JSONSchema7Definition[]): Record>; export { jsonSchemaToZod, jsonSchemaToZodSchema };