import { PlatformConfig } from '../config';
import { SendResult, ChatInfo } from '../platform-registry';
import { BasePlatformAdapter } from './base';
export declare class DingTalkAdapter extends BasePlatformAdapter {
    private _clientId;
    private _clientSecret;
    private _accessToken;
    private _tokenExpiresAt;
    private _sessionWebhooks;
    private _requireMention;
    private _heartbeatTimer;
    constructor(config: PlatformConfig);
    connect(): Promise<boolean>;
    disconnect(): Promise<void>;
    send(chatId: string, content: string, replyTo?: string): Promise<SendResult>;
    getChatInfo(chatId: string): Promise<ChatInfo>;
    processInbound(body: any): Promise<void>;
    private _getAccessToken;
}
//# sourceMappingURL=dingtalk.d.ts.map