import React, { ReactNode } from 'react';
export type InfiniteScrollOptimizedProps = {
    /**
     * @description Children to render.
     */
    children: ReactNode;
    classes?: {
        container?: string;
        content?: string;
        loadMoreElement?: string;
    };
    gap?: number;
    /**
     * @description has more pages
     */
    hasMore: boolean;
    isContainerScrollEnabled?: 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;
};
export declare const InfiniteScrollOptimized: React.ForwardRefExoticComponent<InfiniteScrollOptimizedProps & React.RefAttributes<HTMLDivElement>>;
