import { $t as AcpSessionUpdateTag, Bt as AcpRuntimeCapabilities, Ht as AcpRuntimeEnsureInput, Ut as AcpRuntimeEvent, Vt as AcpRuntimeDoctorReport, Wt as AcpRuntimeHandle, Xt as AcpRuntimeTurnInput, i as OpenClawConfig, qt as AcpRuntimeStatus, zt as AcpRuntime } from "../../types.openclaw-BRJXDExo.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Dh6XMgGH.js";
import { S as readStringParam, b as readStringArrayParam, m as jsonResult, v as readNumberParam, x as readStringOrNumberParam, y as readReactionParams } from "../../common-BDN0bXby.js";
import { a as resolvePollMaxSelections } from "../../polls-CfHkU59X.js";
import { y as ChannelMessageActionAdapter } from "../../types.core-D0XsWKxC.js";
import { $ as OpenClawPluginService, C as OpenClawPluginApi, et as OpenClawPluginServiceContext, ht as PluginLogger } from "../../types-drLpqQsP.js";
import { n as ChannelPlugin } from "../../types.public-DAfqVsWd.js";
import { n as PluginRuntime } from "../../types-Be53ucxM.js";
import { o as AcpRuntimeError, s as AcpRuntimeErrorCode } from "../../registry-DIGkvY8N.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-DSFoznad.js";
import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
import { t as clearAccountEntryFields } from "../../config-helpers-D0J7w2wC.js";
import { n as formatPairingApproveHint } from "../../helpers--T8jIaEC.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-AZcwFUZz.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-5gAj9mrW.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-DWvK5QJx.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-Qm5Cu-BU.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-DxSCHon_.js";
import { r as makeProxyFetch } from "../../proxy-fetch-9Z9a0YvK.js";
import { a as editMessageReplyMarkupTelegram, c as reactMessageTelegram, d as sendPollTelegram, f as sendStickerTelegram, i as editForumTopicTelegram, l as renameForumTopicTelegram, m as unpinMessageTelegram, n as createForumTopicTelegram, o as editMessageTelegram, p as sendTypingTelegram, r as deleteMessageTelegram, s as pinMessageTelegram, t as TelegramApiOverride, u as sendMessageTelegram } from "../../send-CuBbmUyl.js";
import { _ as buildTelegramExecApprovalPendingPayload, c as telegramMessageActions, i as resolveTelegramPollVisibility, n as TelegramActionConfig, o as parseTelegramTopicConversation, r as TelegramNetworkConfig, s as monitorTelegramProvider, t as TelegramAccountConfig, v as shouldSuppressTelegramExecApprovalForwardingFallback, y as resolveTelegramRuntimeGroupPolicy } from "../../runtime-api-Be3fE8rW.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-CX7eaP4r.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-CtHI0oSB.js";
import { t as setTelegramRuntime } from "../../runtime-UTEurxW_.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-K8qV22VP.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-BmaaAQLp.js";
import { n as resolveTelegramToken } from "../../token-CCKW0fU9.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 };