import { RefObject } from 'react'; interface Props { hasNextPage: boolean; loading: boolean; isLoaded?: (index: number) => boolean; itemsLength?: number; onLoadMore: Function; registerScrollableList?: (ref: RefObject) => void; threshold?: number; withPrefetchedData?: boolean; confirmLoading?: boolean; } interface Output { ref: RefObject; tableMaxHeight: number; showLoadMore: boolean; scrollbarWidth: number; scrollable: boolean; } export declare function useInfiniteScroll({ loading, hasNextPage, isLoaded, itemsLength, onLoadMore, registerScrollableList, threshold, withPrefetchedData, confirmLoading, }: Props): Output; export {};