import type { NavigationHref } from '../isomorphic-utils/build-route-href.js'; import type { RouteProps } from '../isomorphic-utils/route-path.js'; export declare function pathnameToCurrentRoutePath(pathname: string): string; export declare function resolveRouteHref(to: NavigationHref): string; export declare function parseRoute(url: URL): RouteProps; export declare function getRouteUrl(route: RouteProps): URL; export declare function isSameRoute(next: RouteProps, prev: RouteProps): boolean; type RscRoute = Pick; export declare function isSameRscRoute(next: RscRoute, prev: RscRoute): boolean; export declare function parseRedirectUrl(location: string, base: string | URL): URL | undefined; export declare function redactCredentials(location: string): string; export declare function isSameOrigin(url: URL): boolean; export declare function otherOriginError(url: URL): Error; export {};