export interface FieldValidationMessage {
    /**
     * The field that did not pass validation.
     */
    field: string;
    /**
     * The error message
     */
    message: string;
    /**
     * The rule that was violated.
     */
    rule: string;
}
/**
 * Validation error is a superset of Error class with validation
 * error messages
 */
export declare class ValidationError extends Error {
    messages: FieldValidationMessage[];
    /**
     * Http status code for the validation error
     */
    status: number;
    /**
     * Internal code for handling the validation error
     * exception
     */
    code: string;
    constructor(messages: FieldValidationMessage[], options?: ErrorOptions & {
        message?: string;
    });
    get [Symbol.toStringTag](): string;
    toString(): string;
}
//# sourceMappingURL=validation_error.d.ts.map