import type { Bot } from "grammy"; import type { IngressSink } from "@copilotkit/channels-core"; import type { TelegramConversationStore } from "./conversation-store.js"; export interface ListenerConfig { bot: Bot; store: TelegramConversationStore; botUsername: string; botUserId: number; sink: IngressSink; /** Telegram bot token, used to download inbound files. */ botToken: string; /** Resolve a Telegram fileId to its file path (e.g. via the getFile API). */ getFilePath: (fileId: string) => Promise; } export declare function attachTelegramListener(config: ListenerConfig): void; //# sourceMappingURL=listener.d.ts.map