import { WechatPayModuleOptions } from '../interfaces/options.interface'; import { CallbackAuthResponse } from '../interfaces/response/auth/callback.auth.response.interface'; import { DecryptStrategy } from '../strategies/decrypt.strategy'; export declare class WechatPayAuthService { private readonly options; private readonly decryptStrategy; constructor(options: WechatPayModuleOptions, decryptStrategy: DecryptStrategy); /** * 微信支付回调认证 * @param serial 商户证书序列号 * @param nonce 随机字符串 * @param timestamp 时间戳,精确到秒,字符串格式 * @param signature 加密信息 * @returns 认证结果 */ callback(serial: string, nonce: string, timestamp: string, signature: string): CallbackAuthResponse; }