import Vnmf from '../../index' declare module '../../index' { namespace makePhoneCall { interface Option { /** The number you need to call. */ phoneNumber: string /** 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?: (res: VnmfGeneral.CallbackResult) => void } } interface VnmfStatic { /** Call. * @supported weapp, h5, rn, tt * @example * ```tsx * Vnmf.makePhoneCall({ * phoneNumber: '1340000' //Example:,It's not a real number. * }) * ``` * @see https://developers.weixin.qq.com/miniprogram/dev/api/device/phone/wx.makePhoneCall.html */ makePhoneCall(option: makePhoneCall.Option): Promise } }