import { type RefObject } from 'react'; /** * Uses the IntersectionObserverMock API to tell whether the given DOM Element (from useRef) is visible within the * viewport. */ declare const useViewportSpy: (ref: RefObject, options?: IntersectionObserverInit) => boolean | undefined; export default useViewportSpy;