import React, { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from "../../../../src/utils/typings";
import { InfiniteLoadingType } from './types';
export interface InfiniteLoadingProps extends BasicComponent {
    type: InfiniteLoadingType;
    hasMore: boolean;
    threshold: number;
    target: string;
    capture: boolean;
    pullRefresh: boolean;
    pullingText: ReactNode;
    loadingText: ReactNode;
    loadMoreText: ReactNode;
    onRefresh: () => Promise<void>;
    onLoadMore: () => Promise<void>;
    onScroll: (param: number) => void;
}
export declare const InfiniteLoading: FunctionComponent<Partial<InfiniteLoadingProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onScroll'>>;
