///
export declare type IntersectionChangeHandler = (entry: IntersectionObserverEntry) => void;
export declare type IntersectionOptions = {
root?: React.RefObject;
rootMargin?: string;
threshold?: number | number[];
once?: boolean;
defaultIntersecting?: boolean;
};
export declare const useIntersection: (target: Element | import("react").RefObject | null, options?: IntersectionOptions, callback?: IntersectionChangeHandler | undefined) => boolean;