import { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from "../../../../src/utils/typings";
import { PullToRefreshType } from './types';
export type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
export interface PullToRefreshProps extends BasicComponent {
    onRefresh: () => Promise<any>;
    type: PullToRefreshType;
    pullingText: ReactNode;
    canReleaseText: ReactNode;
    refreshingText: ReactNode;
    completeText: ReactNode;
    completeDelay: number;
    headHeight: number;
    threshold: number;
    disabled: boolean;
    renderIcon: (status: PullStatus) => ReactNode;
    renderText: (status: PullStatus) => ReactNode;
}
export declare const PullToRefresh: FunctionComponent<Partial<PullToRefreshProps>>;
