import { MessageValidateResponse } from '../interfaces/response/auth/message-validate.response.interface'; import { ServerValidateResponse } from '../interfaces/response/auth/server-validate.response.interface'; import { OfficialUtil } from '../utils/official.util'; export declare class OfficialAuthService { private readonly officialUtil; constructor(officialUtil: OfficialUtil); /** * 微信调用第三方服务器签名认证 * @param appid 公众号appID * @param timestamp 时间戳 * @param nonce 随机字符串 * @param signature 签名信息 * @returns 签名校验结果 */ serverValidate(appid: string, timestamp: string, nonce: string, signature: string): Promise; /** * 微信转发信息签名校验 * @param appid 公众号appID * @param timestamp 时间戳 * @param nonce 随机字符串 * @param encryptMessage 加密信息 * @param signature 签名信息 * @returns 签名校验结果 */ messageValidate(appid: string, timestamp: string, nonce: string, encryptMessage: string, signature: string): Promise; }