import { i as OpenClawConfig } from "../../types.openclaw-lNZZW1-s.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-CoCxfkC0.js";
import { D as readStringParam, E as readStringOrNumberParam, S as readNumberParam, T as readStringArrayParam, g as jsonResult, w as readReactionParams } from "../../common-Cw1I8hHR.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-P3TBHMEz.js";
import { t as ChannelPlugin } from "../../types.plugin-COdSUo9p.js";
import { n as AcpRuntimeError, r as AcpRuntimeErrorCode } from "../../errors-4NrSl2dh.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-B5x3ND7E.js";
import { O as OpenClawPluginService, U as PluginLogger, g as OpenClawPluginApi, k as OpenClawPluginServiceContext } from "../../plugin-entry-CxWiRQbt.js";
import { r as buildChannelConfigSchema } from "../../config-schema-jXAeMqcd.js";
import { t as clearAccountEntryFields } from "../../config-helpers-B66CEu1R.js";
import { n as formatPairingApproveHint } from "../../helpers-vPtACqhU.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CFjlYpMw.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-Bh_X7Irc.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-B1Qg_ukb.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-B_vgKluM.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-BEaNjpvA.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-CpTi4dLF.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-DESq_JNY.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-BfmLZ9fK.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-LHRsBqpn.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-DGBX8qDB.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-DcqCk-J4.js";
import { n as resolveTelegramToken } from "../../token-CG759Rcl.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 };