import React, { ReactNode } from 'react';
export type InfiniteScrollProps = {
    loadMore: (isRetry: boolean) => Promise<void>;
    hasMore: boolean;
    threshold?: number;
    children?: ReactNode | ((hasMore: boolean, failed: boolean, retry: () => void) => ReactNode);
};
export declare const InfiniteScroll: ({ threshold, loadMore, children, hasMore, }: InfiniteScrollProps) => React.JSX.Element;
