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