import { PearlError } from '@pearl-framework/core'; import type { ZodError } from 'zod'; export type ValidationErrors = Record; export declare class ValidationException extends PearlError { readonly code = "VALIDATION_FAILED"; readonly errors: ValidationErrors; constructor(errors: ValidationErrors); static fromZodError(error: ZodError): ValidationException; toJSON(): { message: string; errors: ValidationErrors; }; } //# sourceMappingURL=ValidationException.d.ts.map