import { i as OpenClawConfig } from "../../types.openclaw-DBHlrrVj.js";
import { a as AcpRuntimeEnsureInput, g as AcpSessionUpdateTag, i as AcpRuntimeDoctorReport, n as AcpRuntimeCapabilities, o as AcpRuntimeEvent, p as AcpRuntimeTurnInput, s as AcpRuntimeHandle, t as AcpRuntime, u as AcpRuntimeStatus } from "../../types-Z2-ObWHA.js";
import { $n as PluginRuntime } from "../../types-C0dQmare.js";
import { D as readStringParam, E as readStringOrNumberParam, S as readNumberParam, T as readStringArrayParam, g as jsonResult, w as readReactionParams } from "../../common-Nuz33yLC.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Dh6XMgGH.js";
import { a as resolvePollMaxSelections } from "../../polls-CfHkU59X.js";
import { v as ChannelMessageActionAdapter } from "../../types.core-CyK4WLl_.js";
import { t as ChannelPlugin } from "../../types.plugin-BIHyhl5u.js";
import { n as AcpRuntimeError, r as AcpRuntimeErrorCode } from "../../errors-4NrSl2dh.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-CBs-Ccnl.js";
import { O as OpenClawPluginService, U as PluginLogger, g as OpenClawPluginApi, k as OpenClawPluginServiceContext } from "../../plugin-entry-BOAJmgcf.js";
import { r as buildChannelConfigSchema } from "../../config-schema-jXAeMqcd.js";
import { t as clearAccountEntryFields } from "../../config-helpers-DujjtRsO.js";
import { n as formatPairingApproveHint } from "../../helpers-BHD7rToB.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CFjlYpMw.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-DWFDqXWn.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-U-gu2GMs.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-D72cgFjh.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-cQ2KEfGm.js";
import { r as makeProxyFetch } from "../../proxy-fetch-DPt1dxTl.js";
import { a as deleteMessageTelegram, c as editMessageTelegram, d as renameForumTopicTelegram, f as sendMessageTelegram, g as unpinMessageTelegram, h as sendTypingTelegram, i as createForumTopicTelegram, l as pinMessageTelegram, m as sendStickerTelegram, o as editForumTopicTelegram, p as sendPollTelegram, r as TelegramApiOverride, s as editMessageReplyMarkupTelegram, t as setTelegramRuntime, u as reactMessageTelegram } from "../../runtime-_BGWHruK.js";
import { _ as resolveTelegramRuntimeGroupPolicy, a as monitorTelegramProvider, g as shouldSuppressTelegramExecApprovalForwardingFallback, h as buildTelegramExecApprovalPendingPayload, i as resolveTelegramPollVisibility, n as TelegramActionConfig, o as telegramMessageActions, r as TelegramNetworkConfig, t as TelegramAccountConfig } from "../../runtime-api-CESBpfH4.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-CUDtDSfw.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-DLH2zXfL.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-SoczFdRo.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-B8g9Rxld.js";
import { n as resolveTelegramToken } from "../../token-CBTovaSc.js";
import { n as parseTelegramTopicConversation } from "../../topic-conversation-DB0Kpc_a.js";
export { type AcpRuntime, type AcpRuntimeCapabilities, type AcpRuntimeDoctorReport, type AcpRuntimeEnsureInput, AcpRuntimeError, type AcpRuntimeErrorCode, type AcpRuntimeEvent, type AcpRuntimeHandle, type AcpRuntimeStatus, type AcpRuntimeTurnInput, type AcpSessionUpdateTag, type ChannelMessageActionAdapter, type ChannelPlugin, DEFAULT_ACCOUNT_ID, type OpenClawConfig, type OpenClawPluginApi, type OpenClawPluginService, type OpenClawPluginServiceContext, PAIRING_APPROVED_MESSAGE, type PluginLogger, type PluginRuntime, TelegramAccountConfig, TelegramActionConfig, type TelegramApiOverride, TelegramConfigSchema, TelegramNetworkConfig, type TelegramProbe, auditTelegramGroupMembership, buildChannelConfigSchema, buildTelegramExecApprovalPendingPayload, buildTokenChannelStatusSummary, clearAccountEntryFields, collectTelegramUnmentionedGroupIds, createForumTopicTelegram, createTelegramThreadBindingManager, deleteMessageTelegram, editForumTopicTelegram, editMessageReplyMarkupTelegram, editMessageTelegram, emptyPluginConfigSchema, formatPairingApproveHint, getChatChannelMeta, getTelegramThreadBindingManager, jsonResult, makeProxyFetch, monitorTelegramProvider, normalizeAccountId, parseTelegramTopicConversation, pinMessageTelegram, probeTelegram, projectCredentialSnapshotFields, reactMessageTelegram, readNumberParam, readReactionParams, readStringArrayParam, readStringOrNumberParam, readStringParam, renameForumTopicTelegram, resetTelegramThreadBindingsForTests, resolveConfiguredFromCredentialStatuses, resolvePollMaxSelections, resolveTelegramFetch, resolveTelegramPollVisibility, resolveTelegramRuntimeGroupPolicy, resolveTelegramToken, resolveTelegramTransport, sendMessageTelegram, sendPollTelegram, sendStickerTelegram, sendTypingTelegram, setTelegramRuntime, setTelegramThreadBindingIdleTimeoutBySessionKey, setTelegramThreadBindingMaxAgeBySessionKey, shouldRetryTelegramTransportFallback, shouldSuppressTelegramExecApprovalForwardingFallback, telegramMessageActions, unpinMessageTelegram };