import type { BotConfig } from "../config/config.js"; import type { RuntimeEnv } from "../runtime.js"; export declare function startTelegramWebhook(opts: { token: string; accountId?: string; config?: BotConfig; path?: string; port?: number; host?: string; secret?: string; runtime?: RuntimeEnv; fetch?: typeof fetch; abortSignal?: AbortSignal; healthPath?: string; publicUrl?: string; }): Promise<{ server: import("node:http").Server; bot: import("grammy").Bot>; stop: () => void; }>;