import type { WechatUser, WechatApi, WechatApiLang, WechatApiJsConfigParams } from './wechat-api.types'; import type { WechatApiOptions } from './wechat-api.options'; export declare class WechatApiService { private readonly api; constructor(options: WechatApiOptions); get client(): WechatApi; getJsConfig(params: WechatApiJsConfigParams): Promise; getTicket(type?: 'jsapi'): Promise; /** * 创建二维码 * @param {number | string} scene * @returns {Promise} */ createQRCode(scene?: number | string, expire?: number): Promise<{ url: string; ticket: string; expire: number; }>; /** * 获取用户信息 * @param {string} openId * @returns {Promise} */ getUser(openId: string, lang?: WechatApiLang): Promise; } //# sourceMappingURL=wechat-api.service.d.ts.map