import type { ValidationError } from 'joi';
import type Response from '../Http/Responses/AvonResponse';
import ResponsableException from './ResponsableException';
export default class ValidationException extends ResponsableException {
    protected errors: ValidationError;
    constructor(errors: ValidationError);
    /**
     * Get the response code
     */
    getCode(): number;
    /**
     * Get the exception name
     */
    getName(): string;
    /**
     * Create an HTTP response that represents the object.
     */
    toResponse(): Response;
}
