import { find as findMap } from './map'; import { get as getRole } from './role'; export interface get { /** * 根据功能路径获取Url * @param {String} pathId 功能路径 * @return {String} 实际Url */ (pathId: string): string; } /** * 根据功能路径获取Url * @param {String} pathId 功能路径 * @return {String} 实际Url */ export declare function get(this: { findMap: findMap; getRole: getRole; readonly port: number; readonly protocol: string; } | void, pathId: string): string; interface UrlApi { /** * 根据功能路径获取Url * @param {String} pathId 功能路径 * @return {String} 实际Url */ get: get; } declare function UrlApi(config: { readonly port: number; readonly protocol: string; }, findMap: findMap, getRole: getRole): UrlApi; export declare type api = UrlApi; export default UrlApi;