/// <reference types="react" />
interface useIntersectionEffect {
    (rootRef: React.RefObject<Element>, targetRef: React.RefObject<Element> | ((root: Element) => Element) | Element, options: IntersectionObserverInit | undefined, fn: IntersectionObserverCallback): void;
    (rootRef: undefined, targetRef: React.RefObject<Element> | Element, options: IntersectionObserverInit | undefined, fn: IntersectionObserverCallback): void;
}
export declare const useIntersectionEffect: useIntersectionEffect;
export {};
