/** * OpenKernel — Telegram Plugin * * Notifications (outbound) + slash commands (inbound polling). * Commands: /status /workers /logs /pause /resume /retry /models * /providers /checkpoints /goal * * Real bot wiring requires TELEGRAM_BOT_TOKEN + chatId. * Phase 4 will flesh out natural chat with the orchestrator. */ import type { KernelEventType, Plugin } from '../types.js'; export interface TelegramPluginOptions { token?: string; chatId?: string; /** When true, polls Telegram getUpdates and dispatches slash commands. */ pollCommands?: boolean; pollIntervalMs?: number; notifyOn?: KernelEventType[]; } export declare function createTelegramPlugin(options: TelegramPluginOptions): Plugin;