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