import { RefCallback } from 'react'; type UseIntersectionObserverOptions = IntersectionObserverInit & { freezeOnceVisible?: boolean; animateOnce?: boolean; defaultVisible?: boolean; }; type UseIntersectionObserverReturn = { ref: RefCallback; observeRef: RefCallback; entry: IntersectionObserverEntry | null; isIntersecting: boolean; isVisible: boolean; supported: boolean; }; export declare function useIntersectionObserver(options?: UseIntersectionObserverOptions): UseIntersectionObserverReturn; export type { UseIntersectionObserverOptions, UseIntersectionObserverReturn };