interface UseIntersectionObserverProps { root?: any; target: any; onIntersect: () => void; threshold?: number; rootMargin?: string; enabled: boolean | undefined; } declare const useIntersectionObserver: ({ root, target, onIntersect, threshold, rootMargin, enabled, }: UseIntersectionObserverProps) => void; export default useIntersectionObserver;