type Middleware = T; /** * Install middlewares to the Controller or a specific method. * @param middlewares * @returns */ export declare function Middlewares(...mws: Array>): ClassDecorator & MethodDecorator; /** * Internal function used to retrieve installed middlewares * in controller and methods (used during routes generation) * @param target * @returns list of middlewares */ export declare function fetchMiddlewares(target: any): Array>; export {};