/** How long a fragment waits for its element: a section behind a provider appears once its data does. */ export declare const HASH_WAIT_MS = 3000; /** * Lands on the element a URL's `#fragment` names, after each navigation that carries one — on arrival too. * * The browser does this by itself only for a page it loaded whole, and only for what is in it at that moment: a * client-side navigation never asks it to, and a section that renders once its data arrives is not there yet. So the * element is looked for now and, if absent, as the page fills in, for {@link HASH_WAIT_MS}; somebody who scrolls in the * meantime has gone somewhere else, and is left there. `navigationKey` makes a second click on the same link land again. */ declare const useScrollToHash: ({ hash, navigationKey, enabled }: { hash: string; navigationKey?: string; enabled: boolean; }) => void; export default useScrollToHash;