import React, { Ref } from "react"; import { XhButtonProps } from "../Button"; export declare type refMe = { reset: () => void; begin: () => void; beginning: boolean; }; export declare type ButtonType = "default" | "secondary" | "primary" | "warn"; export declare type ButtonShape = "square" | "round" | "rectangle"; export declare type ButtonSize = "default" | "mini" | "full"; export interface CaptchaProps extends XhButtonProps { timeout?: number; className?: string; styleName?: string; text?: string; onClick: () => Promise; ref: Ref; timeingTemp?: string; ingText?: string; onEnd?: () => void; } export declare type CaptchaRef = refMe; declare const CountdownButton: React.ForwardRefExoticComponent, "type" | "size" | "plain" | "disabled" | "loading" | "formType" | "openType" | "hoverClass" | "hoverStyle" | "hoverStopPropagation" | "hoverStartTime" | "hoverStayTime" | "lang" | "sessionFrom" | "sendMessageTitle" | "sendMessagePath" | "sendMessageImg" | "appParameter" | "scope" | "showMessageCard" | "onGetUserInfo" | "onGetAuthorize" | "onContact" | "onGetPhoneNumber" | "onError" | "onOpenSetting" | "id" | "className" | "style" | "key" | "hidden" | "animation" | "dangerouslySetInnerHTML" | "onTouchStart" | "onTouchMove" | "onTouchCancel" | "onTouchEnd" | "onClick" | "onLongPress" | "onLongClick" | "onTransitionEnd" | "onAnimationStart" | "onAnimationIteration" | "onAnimationEnd" | "onTouchForceChange" | "timeout" | "text" | "styleName" | "timeingTemp" | "ingText" | "onEnd" | "htmlType" | "shape" | "preventTime" | "loadingStyle" | "loadingSpace" | "ghost" | "hollow" | "dataTrackId"> & React.RefAttributes>; export default CountdownButton;