import { ApplicationConfig } from '../application-config.js';
import { NestContainer } from '../injector/container.js';
import { type RouteInfo } from '@nestjs/common/internal';
import { type Type } from '@nestjs/common';
export declare class RoutesMapper {
    private readonly container;
    private readonly applicationConfig;
    private readonly pathsExplorer;
    constructor(container: NestContainer, applicationConfig: ApplicationConfig);
    mapRouteToRouteInfo(controllerOrRoute: Type<any> | RouteInfo | string): RouteInfo[];
    /**
     * Returns the routes of every controller of the application, as
     * `forRoutes()` maps a controller.
     */
    mapControllersToRouteInfo(): RouteInfo[];
    private getRouteInfoFromPath;
    private getRouteInfoFromObject;
    private getRouteInfoFromController;
    private isRouteInfo;
    private normalizeGlobalPath;
    private getRoutePath;
    /**
     * Returns the paths the controller is served under: the router registers it
     * once for each module that declares it, under the path of that module.
     */
    private getModulePathsOfController;
    private getHostModulesOfController;
    private getModulePath;
    private getVersionMetadata;
}
