import { Request, Response } from 'express';
import { Logger } from '../../types';
export declare function error(logger: Logger): (request: Request, response: Response) => Promise<import("express-serve-static-core").Response>;
