import type { NamePath } from 'antd/es/form/interface';
import React from 'react';
import { ButtonProps } from 'antd/es/button';
import { InputProps } from 'antd/es/input';
import type { ProFormItemProps } from '../../interface';
export type ProFormCaptchaProps = ProFormItemProps<InputProps> & {
    /** @name 倒计时的秒数 */
    countDown?: number;
    /** 手机号的 name */
    phoneName?: NamePath;
    /** @name 获取验证码的方法 */
    onGetCaptcha: (mobile: string) => Promise<void>;
    /** @name 渲染按钮的文字 */
    captchaTextRender?: (timing: boolean, count: number) => React.ReactNode;
    /** @name 获取按钮验证码的props */
    captchaProps?: ButtonProps;
    value?: any;
    onChange?: any;
};
declare const _default: React.ComponentClass<Omit<{
    fieldProps?: (import("../../interface").FieldProps & InputProps) | undefined;
    placeholder?: string | string[] | undefined;
    secondary?: boolean | undefined;
    allowClear?: boolean | undefined;
    disabled?: boolean | undefined;
    width?: number | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
    proFieldProps?: {
        light?: boolean | undefined;
        label?: React.ReactNode;
        mode?: "read" | undefined;
    } | undefined;
} & import("antd/es/form").FormItemProps<any> & {
    /** @name 倒计时的秒数 */
    countDown?: number | undefined;
    /** 手机号的 name */
    phoneName?: NamePath | undefined;
    /** @name 获取验证码的方法 */
    onGetCaptcha: (mobile: string) => Promise<void>;
    /** @name 渲染按钮的文字 */
    captchaTextRender?: ((timing: boolean, count: number) => React.ReactNode) | undefined;
    /** @name 获取按钮验证码的props */
    captchaProps?: Partial<{
        href: string;
        target?: string | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
        htmlType?: "button" | "reset" | "submit" | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> | undefined;
    value?: any;
    onChange?: any;
} & import("../../create-field").ExtendsProps, "proFieldProps">, any> | React.FunctionComponent<Omit<{
    fieldProps?: (import("../../interface").FieldProps & InputProps) | undefined;
    placeholder?: string | string[] | undefined;
    secondary?: boolean | undefined;
    allowClear?: boolean | undefined;
    disabled?: boolean | undefined;
    width?: number | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
    proFieldProps?: {
        light?: boolean | undefined;
        label?: React.ReactNode;
        mode?: "read" | undefined;
    } | undefined;
} & import("antd/es/form").FormItemProps<any> & {
    /** @name 倒计时的秒数 */
    countDown?: number | undefined;
    /** 手机号的 name */
    phoneName?: NamePath | undefined;
    /** @name 获取验证码的方法 */
    onGetCaptcha: (mobile: string) => Promise<void>;
    /** @name 渲染按钮的文字 */
    captchaTextRender?: ((timing: boolean, count: number) => React.ReactNode) | undefined;
    /** @name 获取按钮验证码的props */
    captchaProps?: Partial<{
        href: string;
        target?: string | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & import("antd/es/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "onClick" | "type"> & {
        htmlType?: "button" | "reset" | "submit" | undefined;
        onClick?: React.MouseEventHandler<HTMLElement> | undefined;
    } & Omit<React.ButtonHTMLAttributes<any>, "onClick" | "type">> | undefined;
    value?: any;
    onChange?: any;
} & import("../../create-field").ExtendsProps, "proFieldProps">>;
export default _default;
