declare function errorResponse(responses: any, _opts: any, paths: any): { message: string; path: any; }[]; export default errorResponse;