/**
 * remote/gateway/adapters/telegram — Telegram Bot API gateway adapter.
 *
 * Inbound: long-polling `getUpdates` — no inbound port, the same dial-out
 * posture as the sovereign relay. Outbound: `sendMessage`.
 *
 * Zero-trust: `allowedChatIds` MUST be non-empty. It is BOTH the allowlist of
 * chats permitted to drive the agent AND the set of delivery targets — a
 * stranger who discovers the bot can neither control nor observe the session.
 *
 * @public @since 2.14.0 — preste remote-control T4
 */
import type { GatewayAdapter, GatewayLogger } from "../types.js";
export interface TelegramAdapterOptions {
    /** Bot token from @BotFather. */
    botToken: string;
    /**
     * Allowlist of Telegram chat ids permitted to control the agent AND the
     * delivery targets for its output. MUST be non-empty.
     */
    allowedChatIds: string[];
    /** Injected fetch — defaults to the global `fetch`. */
    fetchImpl?: typeof fetch;
    /** Long-poll timeout in seconds. Default 25. */
    pollTimeoutSec?: number;
    /** API base — override for tests. Default https://api.telegram.org. */
    apiBase?: string;
    /** Logger. Default no-op. */
    log?: GatewayLogger;
}
/** Create a Telegram gateway adapter. */
export declare function createTelegramAdapter(opts: TelegramAdapterOptions): GatewayAdapter;
//# sourceMappingURL=telegram.d.ts.map