import { ReactNode, FunctionComponent } from 'react';
interface InfiniteScrollProps {
    fetchData: () => any;
    children: ReactNode | ReactNode[];
    loader: ReactNode;
    endMessage?: ReactNode;
    hasMore?: boolean;
    className?: string;
}
declare const InfiniteScroll: FunctionComponent<InfiniteScrollProps>;
export default InfiniteScroll;
