interface UseIntersectionObserverOptions { root?: Element | Document | null; rootMargin?: string; threshold?: number | number[]; freezeOnceVisible?: boolean; onChange?: (isIntersecting: boolean, entry: IntersectionObserverEntry) => void; initialIsIntersecting?: boolean; } type IntersectionReturn = [(node?: Element | null) => void, boolean, IntersectionObserverEntry | undefined] & { ref: (node?: Element | null) => void; isIntersecting: boolean; entry?: IntersectionObserverEntry; }; export declare const useIntersectionObserver: ({ threshold, root, rootMargin, freezeOnceVisible, initialIsIntersecting, onChange, }?: UseIntersectionObserverOptions) => IntersectionReturn; export {};