import { PlatformConfig } from '../config';
import { SendResult, ChatInfo } from '../platform-registry';
import { BasePlatformAdapter } from './base';
export declare class QQAdapter extends BasePlatformAdapter {
    private _appId;
    private _clientSecret;
    private _accessToken;
    private _tokenExpiresAt;
    private _ws;
    private _heartbeatInterval;
    private _heartbeatTimer;
    private _sessionId;
    private _lastSeq;
    private _gatewayUrl;
    private _msgSeqCounter;
    private _markdownSupport;
    constructor(config: PlatformConfig);
    connect(): Promise<boolean>;
    disconnect(): Promise<void>;
    private _connectGateway;
    private _connectWebSocket;
    private _onGatewayFrame;
    private _onDispatch;
    private _handleC2CMessage;
    private _handleGroupMessage;
    private _handleDMMessage;
    send(chatId: string, content: string, replyTo?: string): Promise<SendResult>;
    getChatInfo(chatId: string): Promise<ChatInfo>;
    private _refreshToken;
    private _ensureToken;
    private _startHeartbeat;
    private _sendFrame;
}
//# sourceMappingURL=qqbot.d.ts.map