import { Q as SchemaEnvelope, a as JsonSchema } from "./types-DYeD9SJD.cjs"; import * as z from "zod/mini"; import * as z4 from "zod/v4"; //#region src/zod.d.ts declare const referenceSchema: z.ZodMiniObject<{ $ref: z.ZodMiniString; }, z.core.$strip>; declare function refOr(schema: T): z.ZodMiniUnion; }, z.core.$strip>, T]>; declare const jsonSchema: z.ZodMiniType; /** * Converts a JSON Schema or {@link SchemaEnvelope} to a Zod schema. * * @param schema - The JSON Schema or {@link SchemaEnvelope} to convert to a Zod schema. * @param params - Optional parameters for the conversion. * @returns A Zod schema representing the JSON Schema. */ declare function toZodSchema(schema: JsonSchema | SchemaEnvelope, params?: Parameters[1]): z4.ZodType; //#endregion export { jsonSchema, refOr, referenceSchema, toZodSchema }; //# sourceMappingURL=zod.d.cts.map