import { RouteRef, ExternalRouteRef, SubRouteRef, AnyRouteRefParams, RouteFunc, RouteResolutionApiResolveOptions, RouteResolutionApi } from '@backstage/frontend-plugin-api';
import { BackstageRouteObject } from './types';
export declare function joinPaths(...paths: string[]): string;
export declare class RouteResolver implements RouteResolutionApi {
    private readonly routePaths;
    private readonly routeParents;
    private readonly routeObjects;
    private readonly routeBindings;
    private readonly appBasePath;
    constructor(routePaths: Map<RouteRef, string>, routeParents: Map<RouteRef, RouteRef | undefined>, routeObjects: BackstageRouteObject[], routeBindings: Map<ExternalRouteRef, RouteRef | SubRouteRef>, appBasePath: string);
    resolve<TParams extends AnyRouteRefParams>(anyRouteRef: RouteRef<TParams> | SubRouteRef<TParams> | ExternalRouteRef<TParams>, options?: RouteResolutionApiResolveOptions): RouteFunc<TParams> | undefined;
    private trimPath;
}
