/// type UseIntersectionObserverInit = Pick; type UseIntersection = { disabled?: boolean; } & UseIntersectionObserverInit & { rootRef?: React.RefObject | null; }; export declare function useIntersection({ rootRef, rootMargin, disabled, }: UseIntersection): [(element: T | null) => void, boolean, () => void]; export {};