import type { z } from "zod"; export type AnyZodSchema = z.ZodTypeAny; export type ZodObjectSchema = z.ZodObject; export type ZodArraySchema = z.ZodArray; export type ZodValidationError = z.ZodError; export type InferSchema = z.infer; export declare function isZodSchema(value: unknown): value is z.ZodTypeAny; export declare function isZodError(error: unknown): error is z.ZodError; export declare function safeParse(schema: T, data: unknown): { success: true; data: z.infer; } | { success: false; error: z.ZodError; }; export declare function getZodErrorMessages(error: z.ZodError): string[]; export declare function flattenZodError(error: z.ZodError): { formErrors: string[]; fieldErrors: Record; }; //# sourceMappingURL=zodCompat.d.ts.map