import type { FC, ReactNode } from 'react';
export type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
export type PullToRefreshProps = {
    onRefresh?: () => Promise<any>;
    pullingText?: ReactNode;
    canReleaseText?: ReactNode;
    refreshingText?: ReactNode;
    completeText?: ReactNode;
    completeDelay?: number;
    headHeight?: number;
    threshold?: number;
    disabled?: boolean;
    renderText?: (status: PullStatus) => ReactNode;
    children?: ReactNode;
};
export declare const defaultProps: {
    pullingText: string;
    canReleaseText: string;
    refreshingText: string;
    completeText: string;
    completeDelay: number;
    disabled: boolean;
    onRefresh: () => void;
};
export declare const PullToRefresh: FC<PullToRefreshProps>;
