import { InputProps } from '@alicloud/console-base-rc-input'; import { ESubVerificationDeviceType } from '@alicloud/console-fetcher-risk-data'; import { ESceneKey, ERiskType } from '../../enum'; import { IHandleInputChangeProps } from '../../hooks'; import { type IGenerateCodeButtonProps } from '../generate-code-button'; type TVerifyCodeInputType = 'vmfa_auth' | 'sms_or_email_auth'; interface IVerifyCodeInputProps extends InputProps { verifyCodeInputType: TVerifyCodeInputType; inputWidth?: number | string; dialogSubmitType?: ERiskType.MPK | ERiskType.NEW_SUB | ERiskType.OLD_MAIN; showApiErrorBehindInput?: boolean; generateCodeButtonProps?: Omit; keyOfAuthErrorMessageObject?: ESubVerificationDeviceType | ESceneKey.MAIN_ACCOUNT; handleInputChange?(p: IHandleInputChangeProps): void; } export default function VerifyCodeInput({ inputWidth, dialogSubmitType, verifyCodeInputType, generateCodeButtonProps, keyOfAuthErrorMessageObject, handleInputChange, ...inputProps }: IVerifyCodeInputProps): JSX.Element; export type { TVerifyCodeInputType, IHandleInputChangeProps };