import { HttpServer, RouteInfo, Type } from '@nestjs/common/interfaces'; import { ExcludeRouteMetadata } from '../router/interfaces/exclude-route-metadata.interface'; export declare const mapToExcludeRoute: (routes: RouteInfo[]) => ExcludeRouteMetadata[]; export declare const filterMiddleware: = any>(middleware: T[], routes: RouteInfo[], httpAdapter: HttpServer) => Type[]; export declare const mapToClass: >(middleware: T, excludedRoutes: ExcludeRouteMetadata[], httpAdapter: HttpServer) => Type; export declare function isMiddlewareClass(middleware: any): middleware is Type; export declare function assignToken(metatype: Type, token?: any): Type; export declare function isMiddlewareRouteExcluded(req: Record, excludedRoutes: ExcludeRouteMetadata[], httpAdapter: HttpServer): boolean;