import { ZodError } from 'zod';
export declare type ParserType = 'sync' | 'async';
export declare function formatZodError(error: ZodError): Record<string, any>;
export declare function recursiveFormatZodErrors(errors: any): Record<string, any>;
export declare function validateZodSchema(schema: any, parserType: 'sync'): (values: any) => any;
export declare function validateZodSchema(schema: any, parserType: 'async'): (values: any) => Promise<any>;
export declare function validateZodSchema(schema: any): (values: any) => Promise<any>;
