import { default as React, FunctionComponent, ReactNode } from 'react'; import { BasicComponent } from '../../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; onLoadMore: () => Promise; onScroll: (param: number) => void; } export declare const InfiniteLoading: FunctionComponent & Omit, 'onScroll'>>;