type InfiniteScrollOptions = {
    itemSize: number | ((index: number) => number);
    threshold: number;
    itemsLength: number;
    hasNextPage: boolean;
    loadMoreItems: () => Promise<void>;
    containerHeight: number;
    isVariableSizeList?: boolean;
};
export declare function useInfiniteScroll({ itemSize, threshold, itemsLength, hasNextPage, loadMoreItems, containerHeight, isVariableSizeList, }: InfiniteScrollOptions): (scrollData: {
    scrollOffset: number;
    scrollDirection: 'forward' | 'backward';
}) => void;
export {};
//# sourceMappingURL=useInfiniteScroll.d.ts.map