import { z } from 'zod';
type FlatZodErrors = Record<string, string[]>;
export declare function zodValidator<T>(schema: z.ZodTypeAny, formData: T, field?: string | string[]): FlatZodErrors;
export {};
