import React, { ReactNode } from 'react';
export type InfiniteScrollProps = {
    /**
     * @description Children to render.
     */
    children: ReactNode;
    classes?: {
        container?: string;
        content?: string;
        loadMoreElement?: string;
    };
    contentClassName?: string;
    /**
     * @description items length
     */
    dataLength?: number;
    gap?: number;
    /**
     * @description has more pages
     */
    hasMore: boolean;
    isContainerScrollEnabled?: boolean;
    isHorizontal?: boolean;
    /**
     * @description loader component
     * @default <Loading />
     */
    loader?: JSX.Element;
    /**
     * @description will be called when `loading` is visible and `hasMore === true`
     */
    onLoadMore?(): Promise<unknown> | unknown;
    /**
     * @description infinite scroll container classNames
     */
    style?: any;
    /**
     * @description nextToken for when you are grabbing unique values and the useDebounce doesn't trigger properly
     */
    token?: string;
};
export declare const InfiniteScroll: React.ForwardRefExoticComponent<InfiniteScrollProps & React.RefAttributes<HTMLDivElement>>;
