import * as React from 'react'; import { VerifyCodePropsType } from './PropsType'; import './style.less'; import CustomInput from './CustomInput'; interface VerifyCodeProps extends VerifyCodePropsType { prefixCls?: string; className?: string; } declare class VerifyCode extends React.Component { static defaultProps: VerifyCodeProps; timer: any; inputRef?: CustomInput | null; constructor(props: VerifyCodeProps); componentDidMount(): void; componentWillUnmount(): void; static getDerivedStateFromProps(nextProps: any, state: any): { counter: any; countdowning: boolean; buttonText: any; time?: undefined; } | { counter: any; time: any; countdowning?: undefined; buttonText?: undefined; }; countdown: () => void; btnClick(): void; _beginCountDown(flag?: boolean): void; onInputChange: (e: React.ChangeEvent) => void; handleOnChange: (value: string, isMutated?: boolean, adjustPos?: Function) => void; onInputFocus: (value?: string | undefined) => void; onInputBlur: (value?: string | undefined) => void; calcPos: (prePos: number, preCtrlVal: string, rawVal: string, ctrlVal: string, placeholderChars: Array, maskReg: RegExp) => number; render(): JSX.Element; } export { VerifyCodePropsType }; export default VerifyCode;