import { WXCore } from './WXCore'; import { IMsgAdapter } from './MsgAdapter'; export declare class WeChat { /** * JSSDK签名 * @param wxCore * @param nonce_str * @param timestamp * @param url * @param jsapi_ticket */ static jssdkSignature(wxCore: WXCore, nonce_str: string, timestamp: string, url: string, jsapi_ticket?: string): Promise; /** * 验证成为开发者 * @param wxCore * @param signature * @param timestamp * @param nonce * @param echostr */ static checkSignature(wxCore: WXCore, signature: string, timestamp: string, nonce: string, echostr: string): string; /** * 处理微信推送过来的消息 * @param wxCore * @param msgXml * @param msgSignature * @param timestamp * @param nonce */ static handleMsg(msgAdapter: IMsgAdapter, wxCore: WXCore, msgXml: string, msgSignature?: string, timestamp?: string, nonce?: string): Promise; }