import { TelegramClient } from "./telegram.js"; import { Storage } from "./storage.js"; export declare class Poller { private telegram; private storage; private allowedChatIds; private running; private backoff; private readonly maxBackoff; private botUsername; constructor(telegram: TelegramClient, storage: Storage, allowedChatIds: Set); start(botUsername: string): Promise; stop(): void; private processUpdate; private checkMention; }