import type { RefObject } from "react"; export declare function useIntersectionObserver(params: { callback: (params: { entry: IntersectionObserverEntry; observer: IntersectionObserver; }) => void; rootMargin?: string; root?: Element | Document; threshold?: number | number[]; }): { ref: RefObject; };