import { EventEmitter } from "node:events";
import type { VisionClawConfig } from "../config/types.js";
import type { ChannelAdapter, MessageAttachment } from "./interface.js";
/**
 * WeChat (Weixin) channel adapter for VisionClaw.
 *
 * Wraps the transport modules from `@tencent-weixin/openclaw-weixin`
 * into VisionClaw's ChannelAdapter interface. Runs the getUpdates
 * long-poll loop directly rather than going through OpenClaw's
 * plugin runtime.
 */
export declare class WeixinAdapter extends EventEmitter implements ChannelAdapter {
    readonly name = "weixin";
    private config;
    private abortController;
    private contextTokens;
    private typingTickets;
    constructor(config: VisionClawConfig);
    start(): Promise<void>;
    stop(): Promise<void>;
    sendMessage(to: string, message: string, attachments?: MessageAttachment[]): Promise<void>;
    sendTypingIndicator(to: string): Promise<void>;
    private runPollLoop;
    private processInboundMessage;
    private findMediaItem;
    private sleep;
}
//# sourceMappingURL=weixin.d.ts.map