import { Request } from 'express'; export declare type MiddlewareHandler = (req: Request, middlewareContext: any) => any | Promise;