import { ValidationError } from 'express-validator'; import { CustomError } from './custom-error'; /** * The 400 (Bad Request) status code indicates that the server cannot * or will not process the request due to something that is perceived * to be a client error * (e.g., malformed request syntax, invalid request message framing, * or deceptive request routing). */ export declare class RequestValidationError extends CustomError { errors: ValidationError[]; statusCode: number; constructor(errors: ValidationError[]); serializeErrors(): { message: any; field: string; }[]; }