/** * 企业微信 (WeCom) 平台适配器 * * 使用企业微信官方 SDK 实现 PlatformAdapter 接口 * SDK: @wecom/aibot-node-sdk */ import type { WSClient } from '@wecom/aibot-node-sdk'; import type { PlatformAdapter, PlatformSender, PlatformMessageEvent, PlatformActionEvent } from '../types.js'; /** * 企业微信平台适配器实现 */ export declare class WeComAdapter implements PlatformAdapter { readonly platform: "wecom"; private sender; private wsClient; private messageCallbacks; private actionCallbacks; private isActive; constructor(); getWsClient(): WSClient | null; start(): Promise; stop(): void; getSender(): PlatformSender; onMessage(callback: (event: PlatformMessageEvent) => void): void; onAction(callback: (event: PlatformActionEvent) => void): void; private handleMessage; private parseMessageContent; } export declare const wecomAdapter: WeComAdapter; //# sourceMappingURL=wecom-adapter.d.ts.map