import { RefCallback } from 'react'; interface UseIntersectionObserverConfig { initialState?: boolean; } /** * A hook that uses an Intersection Observer on the target element ref * and detects if the element is intersecting with its parent. */ export declare function useIntersectionObserver({ initialState }?: UseIntersectionObserverConfig): { ref: RefCallback; isIntersecting: boolean; }; export {};