import { PlatformConfig } from '../config';
import { SendResult, ChatInfo } from '../platform-registry';
import { BasePlatformAdapter } from './base';
export declare class WeComAdapter extends BasePlatformAdapter {
    private _botId;
    private _secret;
    private _wsUrl;
    private _ws;
    private _deviceId;
    private _reqIdCounter;
    private _pendingRequests;
    constructor(config: PlatformConfig);
    connect(): Promise<boolean>;
    disconnect(): Promise<void>;
    private _connectWebSocket;
    private _onFrame;
    private _onMessage;
    send(chatId: string, content: string, replyTo?: string): Promise<SendResult>;
    getChatInfo(chatId: string): Promise<ChatInfo>;
    private _sendFrame;
    private _nextReqId;
}
//# sourceMappingURL=wecom.d.ts.map