import { type RefObject } from 'react'; /** * This hook creates an IntersectionObserver and uses it to observe * the target element. * * For a full explanation of the IntersectionObserver API, check the docs: * https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver * * @param targetOrTargets - The target or targets to observe * @param callback - The callback to fire when the element resizes * @param options - Optional options object */ export declare function useIntersectionObserver(targetOrTargets: RefObject | null>, callback: IntersectionObserverCallback, options?: IntersectionObserverInit): void;