import React from "react"; export declare function useRestoreScroll(): { containerRef: React.RefObject; scroll: number; direction: "up" | "down"; };