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