/** * 封装的 WindVane 错误名称 */ export declare const WINDVANE_ERROR_NAME = "WindvaneError"; /** * WindVine 错误码 * - HY_NOT_IN_WINDVANE:不在 WindVane 运行环境下(此时 WindVane.isAvailable 为 false) * - HY_NO_HANDLER:没有对应的 module 或 method * - HY_USER_CANCELLED:填写 MFA 验证码时,用户点取消 */ export declare const WINDVANE_ERROR_CODE: { NOT_IN_WINDVANE: string; NO_HANDLER: string; USER_CANCELLED: string; }; /** * WindVane 相关的 API 参考地址 http://h5.alibaba-inc.com/api/WindVane-API.html */ export declare const WINDVANE: { isAvailable: boolean; call(module: string, method: string, params?: P): Promise; } | undefined; /** * 当前环境是否支持 WindVane */ export declare const WINDVANE_AVAILABLE: boolean;