import { Request, Response, NextFunction } from 'express'; /** * Error handling middleware for ADPA API */ export declare const asyncHandler: (fn: Function) => (req: Request, res: Response, next: NextFunction) => void; export declare function errorHandler(error: any, req: Request, res: Response, next: NextFunction): void; export declare function notFoundHandler(req: Request, res: Response): void; //# sourceMappingURL=errorHandler.d.ts.map