interface WaitForRouteSettleOptions { /** URL must change within this time, otherwise the click is treated as "no navigation" */ urlChangeTimeoutMs?: number; /** DOM must be quiet this long after the URL changed */ settleMs?: number; /** Safety net: always finish after this time */ maxWaitMs?: number; } /** "#/blog-post-creator" or "#!/blog-post-creator" is a route, "#pricing" is an anchor */ export declare const isHashRoute: (hash: string) => boolean; /** "/nook/" and "/nook" are the same page */ export declare const normalizePath: (path: string) => string; /** * Waits until the URL changed AND the page DOM stopped changing (and painted), * then calls onSettled once. Mutations inside `ignoreEl` (the menu) are ignored. * Returns a cancel function. */ export declare const waitForRouteSettle: (ignoreEl: Element | null, onSettled: () => void, options?: WaitForRouteSettleOptions) => (() => void); export {};