import { i as OpenClawConfig } from "../../types.openclaw-BC41dhLQ.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 { $ as OpenClawPluginService, $n as PluginRuntime, C as OpenClawPluginApi, et as OpenClawPluginServiceContext, ht as PluginLogger } from "../../types-Ce92Y7uU.js";
import { D as readStringParam, E as readStringOrNumberParam, S as readNumberParam, T as readStringArrayParam, g as jsonResult, w as readReactionParams } from "../../common-DLtLe7PA.js";
import { n as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "../../account-id-Dh6XMgGH.js";
import { a as resolvePollMaxSelections } from "../../polls-CfHkU59X.js";
import { y as ChannelMessageActionAdapter } from "../../types.core-DJBlHJll.js";
import { n as ChannelPlugin } from "../../types.public-BhJysKN4.js";
import { n as AcpRuntimeError, r as AcpRuntimeErrorCode } from "../../errors-4NrSl2dh.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-eaGT0qu6.js";
import { r as buildChannelConfigSchema } from "../../config-schema-jXAeMqcd.js";
import { t as clearAccountEntryFields } from "../../config-helpers-PFGhVvDH.js";
import { n as formatPairingApproveHint } from "../../helpers-BbqUbz1W.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CFjlYpMw.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-DL1CLydn.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-qOuVyCVN.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-D8oHJyhP.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-BQvWikxy.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-CUdZZXal.js";
import { C as shouldSuppressTelegramExecApprovalForwardingFallback, S as buildTelegramExecApprovalPendingPayload, c as getTelegramThreadBindingManager, d as setTelegramThreadBindingMaxAgeBySessionKey, f as monitorTelegramProvider, i as resolveTelegramPollVisibility, l as resetTelegramThreadBindingsForTests, n as TelegramActionConfig, o as parseTelegramTopicConversation, p as telegramMessageActions, r as TelegramNetworkConfig, s as createTelegramThreadBindingManager, t as TelegramAccountConfig, u as setTelegramThreadBindingIdleTimeoutBySessionKey, w as resolveTelegramRuntimeGroupPolicy } from "../../runtime-api-Cod5AgG1.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe--91IJq_R.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-Dn0C8la0.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-D3boVSvc.js";
import { n as resolveTelegramToken } from "../../token-D6QHDJdf.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 };