export interface UseScrollToHashOptions { /** Pixels to subtract for sticky chrome. */ headerOffset?: number; } /** * Scroll the page to `window.location.hash` once `readyDep` resolves * to a truthy value. Polls via rAF for ~1s so lazy-mounted rows (Radix * accordion, SWR fetch) have time to render. Re-runs on `readyDep` * reference change AND on `hashchange` (browser back/forward + the * synthetic event `navigateSamePageHash` dispatches). * * Skipped when `readyDep == null || readyDep === false`. Default * `true` makes the hook run on mount for pages whose target is in the * initial SSR render. */ export declare function useScrollToHash(readyDep?: unknown, options?: UseScrollToHashOptions): void; //# sourceMappingURL=use-scroll-to-hash.d.ts.map