import Vnmf from '../../index' declare module '../../index' { namespace chooseLicensePlate { interface Option { /** Interface call to the end of echo function(Call successfully、Any failure will be enforced.) */ complete?: (res: VnmfGeneral.CallbackResult) => void /** Interface call failed echo function */ fail?: (res: VnmfGeneral.CallbackResult) => void /** Interface calls a successful echo function */ success?: (result: SuccessCallbackResult) => void } interface SuccessCallbackResult extends VnmfGeneral.CallbackResult { /** The number of the vehicle selected by user */ plateNumber: string } } interface VnmfStatic { /** Select the plate number of vehicle * @supported weapp * @see https://developers.weixin.qq.com/miniprogram/dev/api/open-api/license-plate/wx.chooseLicensePlate.html */ chooseLicensePlate(option?: chooseLicensePlate.Option): Promise } }