/** * This file is a helper to provide basic functionality and properly support both Zod v3 and Zod v4. * See https://zod.dev/library-authors for a reference. */ import * as z3 from "zod/v3"; import * as z4 from "zod/v4/core"; export type ZodTypeAny = z3.ZodTypeAny | z4.$ZodType; export declare function zodValidate(schema: T, value: unknown): InferZodType; export type InferZodType = T extends z3.ZodTypeAny ? z3.infer : z4.infer; export declare function toJsonSchema(schema: ZodTypeAny): z4.JSONSchema.JSONSchema | ({ title?: string; default?: any; description?: string; markdownDescription?: string; } & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }); export declare function isZodSchemaObject(schema: unknown): schema is ZodTypeAny; //# sourceMappingURL=zod.d.ts.map