import { RefObject } from 'react'; interface UseIntersectionObserverProps { root?: Element | null; rootMargin?: string; threshold?: number | number[]; freezeOnceVisible?: boolean; } declare function useIntersectionObserver(elementRef: RefObject, props?: UseIntersectionObserverProps): boolean; export default useIntersectionObserver;