import Vnmf from '../../index' declare module '../../index' { namespace checkIsOpenAccessibility { interface Option { /** The callback function of the interface call (Call success 、Failure will be executed ) */ complete?: (res: VnmfGeneral.CallbackResult) => void /** Interface call failure recovery function */ fail?: (res: VnmfGeneral.CallbackResult) => void /** Interface call successful callback function */ success?: (result: SuccessCallbackResult) => void } interface SuccessCallbackResult extends VnmfGeneral.CallbackResult { /** iOS Turn on the auxiliary features on the top ,Android opening talkback Return true */ open: boolean } } interface VnmfStatic { /** Detect whether to turn on the visual barrier -free function 。 * @supported weapp * @see https://developers.weixin.qq.com/miniprogram/dev/api/device/accessibility/wx.checkIsOpenAccessibility.html */ checkIsOpenAccessibility(option: checkIsOpenAccessibility.Option): Promise } }