import { ViewProps } from "@tarojs/components/types/View"; import { CSSProperties, ReactNode } from "react"; export interface PullRefreshProps extends ViewProps { style?: CSSProperties; loading?: boolean; disabled?: boolean; duration?: number; headHeight?: number; reachTop?: boolean; pullDistance?: number; children?: ReactNode; onRefresh?(): void; } declare function PullRefresh(props: PullRefreshProps): JSX.Element; export default PullRefresh;