/// import { BasePropsType } from '../_internal'; import { LocaleType } from '../LocaleProvider/LocaleType'; export declare enum PullTypeEnum { deactivate = "deactivate", activate = "activate", release = "release", finish = "finish" } export declare type IndicatorFC = React.FC<{ progress: number; type: PullTypeEnum; onLoadingFinish: () => void; locale: LocaleType; }>; export declare type IndicatorType = React.ReactNode | IndicatorFC; export interface PullToRefreshPropsType extends BasePropsType { direction?: 'down' | 'up'; distanceToRefresh?: number; indicator?: { deactivate: IndicatorType; activate: IndicatorType; release: IndicatorType; finish: IndicatorType; }; onRefresh?: () => void; refreshing?: boolean; }