interface UseIntersectionObserverOptions { root?: Element | null; rootMargin?: string; threshold?: number | number[]; onIntersect: (entry: IntersectionObserverEntry, observer: IntersectionObserver) => void; } export declare function useIntersectionObserver(elements: (Element | string)[] | null, // Accepts Element or id strings options: UseIntersectionObserverOptions): void; export {};