import type { ChannelAdapter, ChannelMessage, ReplyOptions } from '../channel.js'; import type { TelegramChannelConfig } from '../workspace.js'; export declare class TelegramAdapter implements ChannelAdapter { readonly name = "telegram"; readonly maxMessageLength = 4096; private config; private bot; private botUsername; private seenMsgIds; private static readonly MAX_SEEN; constructor(config: TelegramChannelConfig); start(onMessage: (msg: ChannelMessage) => void): Promise; reply(msg: ChannelMessage, text: string, _options?: ReplyOptions): Promise; send(chatId: string, text: string): Promise; sendStatus(msg: ChannelMessage, text: string): Promise; clearStatus(msg: ChannelMessage, statusId: string): Promise; typing(msg: ChannelMessage): Promise; stop(): Promise; private sendTelegramMessage; private formatSendLog; } //# sourceMappingURL=telegram.d.ts.map