import { BaseChannel } from './base.js'; export interface TelegramChannelConfig { token: string; pollingTimeout?: number; } export declare class TelegramChannel extends BaseChannel { private bot; private running; constructor(config: TelegramChannelConfig); private setupHandlers; /** * Download a file from Telegram API to local cache. * Uses telegramFetch (DNS fallback + proxy) to bypass DNS pollution. * Mirrors Hermes Agent's download_as_bytearray → cache pattern. */ private downloadTelegramFile; private processMessage; private sendResponse; start(): Promise; stop(): Promise; sendMessage(chatId: number, text: string): Promise; getOffset(): number; } //# sourceMappingURL=telegram.d.ts.map