import type { ChannelAdapter, ChannelMessage, ReplyOptions } from '../channel.js'; import type { WeixinChannelConfig } from '../workspace.js'; /** * WeChat (个人微信) adapter using Tencent iLink Bot API. * Pure HTTP long-polling — no external SDK dependency. */ export declare class WeixinAdapter implements ChannelAdapter { readonly name = "weixin"; readonly maxMessageLength = 2000; private config; private baseUrl; private seenMsgIds; private static readonly MAX_SEEN; private contextTokens; private syncBuffer; private running; private pollAbortController; constructor(config: WeixinChannelConfig); start(onMessage: (msg: ChannelMessage) => void): Promise; reply(msg: ChannelMessage, text: string, _options?: ReplyOptions): Promise; listChats(): Promise>; send(chatId: string, text: string): Promise; stop(): Promise; private headers; private pollLoop; private parseMessage; /** * Download and decrypt an image from WeChat CDN. * Images are AES-128-ECB encrypted on the CDN. */ private downloadImage; } //# sourceMappingURL=weixin.d.ts.map