import React from "react";
export declare function shouldIncrementPage(howMuchTheParentScrolled: number, prevSectionPosition: number, nextSectionPosition: number): -1 | 0 | 1;
export declare function keys(currPage: number): string[];
export declare function getItemsFactory<T extends any>(pageSize: number, items: T[], isCountTheSameOrLowerThanPage: boolean): (page: number, offset: number, _pageSize?: number) => T[];
/**
 * A component that creates an infinite scrolling effect by showing different pages
 * of content as the user scrolls horizontally.
 **/
declare const InfinityScroll: React.ForwardRefExoticComponent<{
    items: (React.ReactElement | string)[];
    pageSize: number;
    initialPage?: number | undefined;
    pageClass?: string | undefined;
    className?: string | undefined;
} & React.RefAttributes<HTMLDivElement>>;
export default InfinityScroll;
export declare enum InfinityDataTestId {
    PREV_PAGE = "infinity-prev",
    CURR_PAGE = "infinity-curr",
    NEXT_PAGE = "infinity-next",
    ROOT = "infinity-parent"
}
