import React from 'react'; /** * Hook for saving and restoring scroll position on navigation * Uses sessionStorage to persist scroll position across browser history navigation * Only restores position when navigating via browser back/forward buttons */ export declare function useScrollPosition(elementRef: React.RefObject, key: string, shouldRestore: boolean): void;