import { RefObject } from 'react'; /** * A hook that tracks the intersection of an element with its parent or viewport. * Returns null if IntersectionObserver API is not available. * @param ref React ref object for the element to monitor * @param options IntersectionObserver configuration options * @returns The latest IntersectionObserverEntry or null */ export declare function useIntersectionObserver(ref: RefObject, options?: IntersectionObserverInit): IntersectionObserverEntry | null;