import { RefObject } from 'react'; interface Args extends IntersectionObserverInit { elementRef: RefObject; freezeOnceVisible?: boolean; } declare type ReturnType = [boolean, IntersectionObserverEntry | undefined]; /** * source: https://usehooks-typescript.com/react-hook/use-intersection-observer * @param param0 **/ declare function useIntersectionObserver({ elementRef, threshold, root, rootMargin, freezeOnceVisible, }: Args): ReturnType; export default useIntersectionObserver;