export interface ScrollPosition { key: string; top: number; left: number; timestamp: number; } export interface UseScrollRestorationOptions { persist?: boolean; storageKey?: string; storage?: Storage; autoSave?: boolean; maxEntries?: number; useRAF?: boolean; enabled?: boolean; onError?: (error: unknown) => void; } export declare function useScrollRestoration(key: string, containerRef: React.RefObject, { persist, storageKey, storage, autoSave, maxEntries, useRAF, enabled, onError, }?: UseScrollRestorationOptions): { savePosition: () => void; restorePosition: () => void; }; //# sourceMappingURL=useScrollRestoration.d.ts.map