export declare const ROUTE_FRAGMENT_KEY = "__cogniteAppRoute"; export declare const MAX_PATH_LEN = 2048; export interface RestoreWindow { location: Pick; history: Pick; } export declare const isSafePath: (path: string, origin: string) => boolean; /** * Call once at bootstrap, before the router mounts. Restores the path left by * `reloadPreservingRoute` (dropping the fragment) via replaceState, so a history * router cold-starts correctly. Returns the path or null. Idempotent, SSR-safe. * `isPathSafe` is injectable for tests. */ export declare function restoreRouteOnBoot(win?: RestoreWindow | undefined, isPathSafe?: (path: string, origin: string) => boolean): string | null;