import { i as OpenClawConfig } from "../../types.openclaw-oSBece7v.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 { a as resolvePollMaxSelections } from "../../polls-CfHkU59X.js";
import { v as ChannelMessageActionAdapter } from "../../types.core-DLqY2yz3.js";
import { t as ChannelPlugin } from "../../types.plugin-M6Pttpij.js";
import { $n as PluginRuntime } from "../../types-Yz3EZWA82.js";
import { D as readStringParam, E as readStringOrNumberParam, S as readNumberParam, T as readStringArrayParam, g as jsonResult, w as readReactionParams } from "../../common-DDc8qh0a.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Dh6XMgGH.js";
import { n as AcpRuntimeError, r as AcpRuntimeErrorCode } from "../../errors-4NrSl2dh.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-DiYjcWIQ.js";
import { O as OpenClawPluginService, U as PluginLogger, g as OpenClawPluginApi, k as OpenClawPluginServiceContext } from "../../plugin-entry-BTRQGtzH.js";
import { r as buildChannelConfigSchema } from "../../config-schema-jXAeMqcd.js";
import { t as clearAccountEntryFields } from "../../config-helpers-BuY9Bcmq.js";
import { n as formatPairingApproveHint } from "../../helpers-VMziwsPK.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CFjlYpMw.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-C1jL8p9r.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-4Gw9Qtkz.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-0PvZQjUF.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-C0V2lvkr.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-Do4nMhCA.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-BkIni7j8.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-BLFgI6Xs.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-B1jhcQE-.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-vNSjuaei.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-DHWq2mPV.js";
import { n as resolveTelegramToken } from "../../token-DYauB-yN.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 };