import { PlatformConfig } from '../config';
import { SendResult, ChatInfo } from '../platform-registry';
import { BasePlatformAdapter } from './base';
export declare class TelegramAdapter extends BasePlatformAdapter {
    private _botToken;
    private _pollOffset;
    private _pollTimer;
    private _apiBase;
    constructor(config: PlatformConfig);
    connect(): Promise<boolean>;
    disconnect(): Promise<void>;
    private _startPolling;
    private _processUpdate;
    send(chatId: string, content: string, replyTo?: string): Promise<SendResult>;
    editMessage(chatId: string, messageId: string, content: string): Promise<SendResult>;
    deleteMessage(chatId: string, messageId: string): Promise<boolean>;
    sendTyping(chatId: string): Promise<void>;
    sendPhoto(chatId: string, fileId: string, caption?: string): Promise<SendResult>;
    getChatInfo(chatId: string): Promise<ChatInfo>;
    private _api;
}
//# sourceMappingURL=telegram.d.ts.map