import { EventEmitter } from 'events'; import type { Platform } from './Gateway.js'; export declare class TelegramPlatform extends EventEmitter implements Platform { name: string; private token; private polling; private _polling; private offset; private pollController?; private backoffController?; private pollHealth; private pendingText; private pendingPhoto; constructor(token: string); connect(): Promise; disconnect(): Promise; send(content: string, channelId: string, replyTo?: string, options?: any): Promise<{ messageId?: string; } | void>; edit(content: string, channelId: string, messageId: string, options?: any): Promise; react(channelId: string, messageId: string, emoji: string): Promise; typing(channelId: string): Promise; private clearInlineKeyboard; sendFile(filePath: string, channelId: string, caption?: string, replyTo?: string): Promise; private sendRichMarkdown; private registerCommands; getHealth(): { offset: number; polling: boolean; active: boolean; lastSuccessAt: string | undefined; consecutiveErrors: number; lastError: string | undefined; lastErrorAt: string | undefined; conflicts: number; backoffMs: number; }; private waitBackoff; private poll; private emitIncoming; private enqueueMessage; private flushTextBatch; private flushPhotoBatch; private downloadTelegramFile; private api; } //# sourceMappingURL=Telegram.d.ts.map