/** * Window scroll behavior during client-side navigations. * @module */ export type WindowScrollBehavior = 'top' | 'preserve' | 'auto'; export type ManageWindowScrollOptions = { scrollBehavior: WindowScrollBehavior; smoothScroll: boolean; }; /** * Updates window scroll position after a navigation commit. * * @remarks * Hash navigations always scroll to the target element and ignore `scrollBehavior`. * Fragment targets are resolved by element id (`#section` → `getElementById('section')`). */ export declare function manageWindowScroll(newUrl: URL, previousUrl: URL, options: ManageWindowScrollOptions): void;