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