import type * as express from 'express'; interface ResponseError { status?: number; message?: string; } export declare const catchErrors: (action: any) => (req: express.Request, res: express.Response, next: express.NextFunction) => any; export declare function errorHandle(err: ResponseError, req: express.Request, res: express.Response, next: express.NextFunction): express.Response>; export {};