import { NextFunction, Request, Response } from 'express'; type ApiError = Error & { errorCode?: string; status?: number | string; statusCode?: number | string; params?: { errorCode?: string; statusCode?: number | string; }; }; export declare function handleRequestError(err: ApiError, _req: Request, res: Response, _next: NextFunction): Response>; export {};