import type { ValidationError } from 'joi'; interface HelpfulJoiValidationErrorDetail { message: string; path: string; type: string; } export declare class HelpfulJoiValidationError extends Error { details: HelpfulJoiValidationErrorDetail[]; props: any; domainObject: string; constructor({ error, props, domainObject, }: { error: ValidationError; props: any; domainObject: string; }); } export {};