import { $t as AcpSessionUpdateTag, Bt as AcpRuntimeCapabilities, Ht as AcpRuntimeEnsureInput, Ut as AcpRuntimeEvent, Vt as AcpRuntimeDoctorReport, Wt as AcpRuntimeHandle, Xt as AcpRuntimeTurnInput, qt as AcpRuntimeStatus, r as DaoCoreConfig, zt as AcpRuntime } from "../../types.daocore-kp8IyikH.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-DpVp9PoP.js";
import { B as DaoCorePluginServiceContext, ht as PluginLogger, l as DaoCorePluginApi, z as DaoCorePluginService } from "../../types-DHSQkzyq2.js";
import { n as ChannelPlugin } from "../../types.public-DHQb4Kl9.js";
import { n as PluginRuntime } from "../../types-CqkHo5uy.js";
import { o as AcpRuntimeError, s as AcpRuntimeErrorCode } from "../../registry-lxoxw358.js";
import { r as emptyPluginConfigSchema } from "../../config-schema-Bqr7vPys.js";
import { r as buildChannelConfigSchema } from "../../config-schema-Dx48Ud8L.js";
import { t as clearAccountEntryFields } from "../../config-helpers-DaftYhAX.js";
import { n as formatPairingApproveHint } from "../../helpers-CQ4hVfJh.js";
import { t as PAIRING_APPROVED_MESSAGE } from "../../pairing-message-CPDqF95Z.js";
import { n as resolveConfiguredFromCredentialStatuses, t as projectCredentialSnapshotFields } from "../../channel-status-BbO3pbi9.js";
import { o as buildTokenChannelStatusSummary } from "../../status-helpers-0Lc9_YHE.js";
import { c as TelegramConfigSchema } from "../../bundled-channel-config-schema-4eXcH-RE.js";
import { t as getChatChannelMeta } from "../../channel-plugin-common-DoggLmA6.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-BWIHz-ux.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-Dbjz4Utg.js";
import { r as probeTelegram, t as TelegramProbe } from "../../probe-NkGsuT5W.js";
import { n as collectTelegramUnmentionedGroupIds, t as auditTelegramGroupMembership } from "../../audit-CWK0xi-b.js";
import { t as setTelegramRuntime } from "../../runtime-C0T2c7TJ.js";
import { i as shouldRetryTelegramTransportFallback, n as resolveTelegramFetch, r as resolveTelegramTransport } from "../../fetch-Du1ifmIT.js";
import { a as setTelegramThreadBindingMaxAgeBySessionKey, i as setTelegramThreadBindingIdleTimeoutBySessionKey, n as getTelegramThreadBindingManager, r as resetTelegramThreadBindingsForTests, t as createTelegramThreadBindingManager } from "../../thread-bindings-CGKBpkvo.js";
import { n as resolveTelegramToken } from "../../token-Bo7BLKZl.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 DaoCoreConfig, type DaoCorePluginApi, type DaoCorePluginService, type DaoCorePluginServiceContext, 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 };