import { type RefObject } from 'react'; export type UseIntersectionObserverOptions = { root?: RefObject | Element | Document | null; rootMargin?: string; threshold?: number[]; }; export declare function useIntersectionObserver(target: RefObject | T | null, { threshold, root: r, rootMargin, }?: UseIntersectionObserverOptions): IntersectionObserverEntry | undefined;