import { default as React, FunctionComponent, ReactNode } from 'react';
import { ScrollViewProps } from '@tarojs/components';
import { BasicComponent } from '../../utils/typings';
import { InfiniteLoadingType } from './types';
export interface InfiniteLoadingProps extends BasicComponent, Omit<ScrollViewProps, 'style' | 'type' | 'onScroll'> {
    type: InfiniteLoadingType;
    hasMore: boolean;
    threshold: number;
    target: string;
    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'>>;
