import { MutableRefObject } from 'react'; type IntersectionObserverOptions = { rootMargin?: string; threshold?: number | number[]; }; declare const useElementInView: (options: IntersectionObserverOptions, rootElementRef?: MutableRefObject) => { isIntersecting: boolean; elementRef: import('react').RefObject; isVisible: boolean; }; export default useElementInView;