import * as react from 'react'; type infiniteObserverOptions = { onIntersection: () => void; threshold?: number; }; declare const useInfiniteObserver: ({ onIntersection, threshold, }: infiniteObserverOptions) => react.Dispatch>[]; export { useInfiniteObserver };