import type { HTTPResponseError } from 'hono/types'; export declare class ZodErrorHandler { private static readonly DEFAULT_VALIDATION_MESSAGE; /** Returns a schema-author-supplied code (`issue.params.code`) when it is a non-empty string. */ private static extractIssueCode; /** Formats a ZodError into the 422 validation response. */ static formatZodError(opts: { isProduction: boolean; requestId: string; url: string; path: string; error: Error | HTTPResponseError; }): { statusCode: 422; response: { message: string; statusCode: 422; normalized: { text: string; code: string; args: {}; }; requestId: string; details: { url: string; path: string; stack: string | undefined; cause: unknown; }; }; }; } //# sourceMappingURL=zod.handler.d.ts.map