/** * Source: https://usehooks-ts.com/react-hook/use-intersection-observer */ import { RefObject } from 'react'; interface Args extends IntersectionObserverInit { freezeOnceVisible?: boolean; } export declare function useIntersectionObserver(elementRef: RefObject, { threshold, root, rootMargin, freezeOnceVisible, }?: Args): IntersectionObserverEntry | undefined; export declare function useDidIntersect(ref: RefObject, onIntersectChange?: (isIntersecting: boolean) => void, options?: Args): void; export {};