import { IValidationError, LocationError } from '../types'; export declare class ValidationError extends Error implements IValidationError { errors: LocationError[]; statusCode: number; response: any; constructor(message: string, errors: LocationError[], statusCode?: number, response?: any); private formatStack; toJSON(): { name: string; errors: LocationError[]; statusCode: number; response: any; message: string; }; } export default ValidationError; //# sourceMappingURL=validation-error.d.ts.map