import { type RunOptions } from "@grammyjs/runner"; import type { BotConfig } from "../config/config.js"; import type { RuntimeEnv } from "../runtime.js"; export type MonitorTelegramOpts = { token?: string; accountId?: string; config?: BotConfig; runtime?: RuntimeEnv; abortSignal?: AbortSignal; useWebhook?: boolean; webhookPath?: string; webhookPort?: number; webhookSecret?: string; webhookHost?: string; proxyFetch?: typeof fetch; webhookUrl?: string; }; export declare function createTelegramRunnerOptions(cfg: BotConfig): RunOptions; export declare function monitorTelegramProvider(opts?: MonitorTelegramOpts): Promise;