import { ZodError, z } from "zod"; /** * Formats a Zod validation error into a human-readable message */ export declare class ZodErrorFormatter { static formatError(error: ZodError, contextData?: any): string; private static formatIssue; private static formatValue; private static formatPath; private static humanizePath; private static resolvePathWithNames; private static extractAllowedEnumValues; } /** * Helper function to wrap Zod parse calls with better error formatting * This function outputs the error directly to console and exits the process */ export declare function parseWithBetterErrors(schema: z.ZodTypeAny, data: unknown, context?: string, contextData?: any): T; //# sourceMappingURL=error-formatter.d.ts.map