import Vnmf from '../../index' declare module '../../index' { namespace checkIsSupportFacialRecognition { interface Option { /** Interactive approach */ checkAliveType?: number /** Interface call to the end of echo function(Call successfully、Any failure will be enforced.) */ complete?: (res: CallbackResult) => void /** Interface call failed echo function */ fail?: (res: CallbackResult) => void /** Interface calls a successful echo function */ success?: (result: CallbackResult) => void } interface CallbackResult extends VnmfGeneral.CallbackResult { /** Cannot initialise Evolution's mail component. */ errMsg: string /** Error Code */ errCode: number } } namespace startFacialRecognitionVerify { interface Option { /** Identity card name */ name: string /** Identity card name */ idCardNumber: string /** Interactive approach */ checkAliveType?: number /** Interface call to the end of echo function(Call successfully、Any failure will be enforced.) */ complete?: (res: CallbackResult) => void /** Interface call failed echo function */ fail?: (res: CallbackResult) => void /** Interface calls a successful echo function */ success?: (result: CallbackResult) => void } interface CallbackResult extends VnmfGeneral.CallbackResult { /** Cannot initialise Evolution's mail component. */ errMsg: string /** Error Code */ errCode: number /** Authentication results */ verifyResult: string } } namespace startFacialRecognitionVerifyAndUploadVideo { interface Option { /** Identity card name */ name: string /** Identity card name */ idCardNumber: string /** Interactive approach */ checkAliveType?: number /** Interface call to the end of echo function(Call successfully、Any failure will be enforced.) */ complete?: (res: CallbackResult) => void /** Interface call failed echo function */ fail?: (res: CallbackResult) => void /** Interface calls a successful echo function */ success?: (result: CallbackResult) => void } interface CallbackResult extends VnmfGeneral.CallbackResult { /** Cannot initialise Evolution's mail component. */ errMsg: string /** Error Code */ errCode: number /** Authentication results */ verifyResult: string } } interface VnmfStatic { /** Check whether facial recognition is supported * @deprecated * @supported weapp */ checkIsSupportFacialRecognition( option?: checkIsSupportFacialRecognition.Option ): Promise /** Start human face recognition authentication * @deprecated * @supported weapp */ startFacialRecognitionVerify( option?: startFacialRecognitionVerify.Option ): Promise /** Start human face recognition authentication and upload video * @deprecated * @supported weapp */ startFacialRecognitionVerifyAndUploadVideo( option?: startFacialRecognitionVerifyAndUploadVideo.Option ): Promise } }