import Vnmf from '../../index' declare module '../../index' { namespace showRedPackage { interface Option { /** Cover Address */ url: 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 { /** Pullh5Retrieve the red bag cover page。Retrieve the cover address of reference red bag [Micromail Red Packet Cover Development Platform](https://cover.weixin.qq.com/cgi-bin/mmcover-bin/readtemplate?t=page/index#/doc?page=introduce)。 * @supported weapp * @see https://developers.weixin.qq.com/miniprogram/dev/api/open-api/redpackage/wx.showRedPackage.html */ showRedPackage(option?: showRedPackage.Option): Promise } }