import { r as DexConfig } from "../../types.openclaw-Brl_kTLA.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, B as DexPluginServiceContext, ht as PluginLogger, l as DexPluginApi, z as DexPluginService } from "../../types-6u2Ms-3C.js";
import { D as readStringParam, E as readStringOrNumberParam, S as readNumberParam, T as readStringArrayParam, g as jsonResult, w as readReactionParams } from "../../common-lqMg8SUn.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-BnXayJIr.js";
import { n as ChannelPlugin } from "../../types.public-CAHZ0KFw.js";
import { n as AcpRuntimeError, r as AcpRuntimeErrorCode } from "../../errors-4NrSl2dh.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-Di2JiEvf.js";
import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
import { t as clearAccountEntryFields } from "../../config-helpers-CCzpvF97.js";
import { n as formatPairingApproveHint } from "../../helpers-BsUcJuNV.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-AZcwFUZz.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-dmfL8QRy.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-BGRXeBNA.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-zOMEjK4o.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-vTMbdLM1.js";
import { r as makeProxyFetch } from "../../proxy-fetch-DJr_F3Ka.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-CXtMYrri.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-BS6KAiea.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-DaVpZA2Z.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-CFMx7BJe.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-C2MtgbEi.js";
import { n as resolveTelegramToken } from "../../token-BKivXCBo.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 DexConfig, type DexPluginApi, type DexPluginService, type DexPluginServiceContext, 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 };