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