import { Router } from './router'; /** * @beta */ export declare function isAbsoluteUrl(url: string): boolean; /** * @beta * @privateRemarks * This function not only finds config it checks if it's a RouterConfiguration instance. */ export declare function findRouter(relativeTo: HTMLElement | Router): Router | null; /** * @beta */ export declare function findParentRouter(relativeTo: HTMLElement | Router): Router | null; /** * @beta */ export declare function findTopLevelRouter(relativeTo: HTMLElement | Router): Router | null; /** * @beta */ export declare function pathJoin(parts: string[], separator?: string, allowTrailingSeparator?: boolean): string; /** * @beta * * @example * ```text * /app/auth/forgot-password >> /app/auth * /app/auth >> /app * /app >> /app * ``` */ export declare function removeLastPathSegment(path: string, separator?: string): string; /** * @beta * * @example * ```text * /app/auth/*fast-child-route >> /app/auth * ``` */ export declare function removeChildRouteParameter(path: string): string; //# sourceMappingURL=utils.d.ts.map