import type { ChannelAdapter, ChannelMessage, OutboundMedia, ReplyOptions } from '../channel.js'; import type { WecomChannelConfig } from '../workspace.js'; export declare class WecomAdapter implements ChannelAdapter { readonly name = "wecom"; readonly maxMessageLength = 2048; readonly nativeStreaming = true; private config; private wsClient; private seenMsgIds; private static readonly MAX_SEEN; /** chatId -> (display name -> userid), accumulated from incoming group frames. */ private groupMemberCache; private static readonly MEMBER_CACHE_TTL; private groupMemberCacheTime; private streams; private streamSeq; constructor(config: WecomChannelConfig); start(onMessage: (msg: ChannelMessage) => void): Promise; private handleFrame; getGroupMembers(chatId: string): Promise>; reply(msg: ChannelMessage, text: string, options?: ReplyOptions): Promise; sendStatus(_msg: ChannelMessage, _text: string): Promise; updateStatus(_msg: ChannelMessage, _statusId: string, _text: string): Promise; clearStatus(msg: ChannelMessage, _statusId: string, finalText?: string): Promise; typing(msg: ChannelMessage): Promise; send(chatId: string, text: string): Promise; sendMedia(msg: ChannelMessage, media: OutboundMedia): Promise; stop(): Promise; } //# sourceMappingURL=wecom.d.ts.map