import { t as resolveConversationLabel } from "../conversation-label-CVP5-lM5.js";
import { a as registerSessionBindingAdapter, i as isSessionBindingError, n as __testing, o as unregisterSessionBindingAdapter, r as getSessionBindingService, t as SessionBindingError } from "../session-binding-service-B4j29qIO.js";
import { t as resolveThreadBindingLifecycle } from "../thread-binding-lifecycle-CMZbOVRA.js";
import { a as resolveThreadBindingIdleTimeoutMs, c as resolveThreadBindingMaxAgeMsForChannel, d as resolveThreadBindingsEnabled, i as resolveThreadBindingEffectiveExpiresAt, n as formatThreadBindingSpawnDisabledError, o as resolveThreadBindingIdleTimeoutMsForChannel, s as resolveThreadBindingMaxAgeMs, t as formatThreadBindingDisabledError, u as resolveThreadBindingSpawnPolicy } from "../thread-bindings-policy-BANkXg07.js";
import { _ as getConversationBindingCapabilities, a as buildPluginBindingUnavailableText, b as touchConversationBindingRecord, c as hasShownPluginBindingFallbackNotice, d as markPluginBindingFallbackNoticeShown, f as parsePluginBindingApprovalCustomId, g as createConversationBindingRecord, h as toPluginConversationBinding, i as buildPluginBindingResolvedText, l as isPluginOwnedBindingMetadata, m as resolvePluginConversationBindingApproval, n as buildPluginBindingDeclinedText, o as detachPluginConversationBinding, p as requestPluginConversationBinding, r as buildPluginBindingErrorText, s as getCurrentPluginConversationBinding, t as buildPluginBindingApprovalCustomId, u as isPluginOwnedSessionBindingRecord, v as listSessionBindingRecords, x as unbindConversationBindingRecord, y as resolveConversationBindingRecord } from "../conversation-binding-BrtVuzYL.js";
import { n as createStaticReplyToModeResolver, r as createTopLevelChannelReplyToModeResolver, t as createScopedAccountReplyToModeResolver } from "../threading-helpers-Dah2vH6S.js";
import { a as resolveConfiguredBindingRecordForConversation, i as resolveConfiguredBindingRecordBySessionKey, n as resolveConfiguredBinding, r as resolveConfiguredBindingRecord, t as primeConfiguredBindingRegistry } from "../binding-registry-OHeHY6FO.js";
import { t as recordInboundSession } from "../session-YA-NIupA.js";
import { t as buildPairingReply } from "../pairing-messages-oCIXY4ix.js";
import { a as readChannelAllowFromStore, c as readLegacyChannelAllowFromStoreSync, d as upsertChannelPairingRequest, i as listChannelPairingRequests, l as removeChannelAllowFromStoreEntry, n as approveChannelPairingCode, o as readChannelAllowFromStoreSync, r as clearPairingAllowFromReadCacheForTest, s as readLegacyChannelAllowFromStore, t as addChannelAllowFromStoreEntry, u as resolveChannelAllowFromPath } from "../pairing-store-W7h5BpaB.js";
import { l as resolvePinnedMainDmOwnerFromAllowlist } from "../dm-policy-shared-DH9yKqQe.js";
import { t as issuePairingChallenge } from "../pairing-challenge-DmI1GhNo.js";
import { n as ensureConfiguredBindingTargetSession, r as resetConfiguredBindingTargetInPlace, t as ensureConfiguredBindingTargetReady } from "../binding-targets-CGcYkzYQ.js";
import { n as resolveConfiguredBindingRoute, r as resolveRuntimeConversationBindingRoute, t as ensureConfiguredBindingRouteReady } from "../binding-routing-TTNYKeed.js";
import { t as recordInboundSessionMetaSafe } from "../conversation-runtime-CmrrLc9s.js";
import { t as resolveThreadBindingConversationIdFromBindingId } from "../thread-binding-id-XUW5Yb9x.js";
import { i as resolveThreadBindingThreadName, n as resolveThreadBindingFarewellText, r as resolveThreadBindingIntroText, t as formatThreadBindingDurationLabel } from "../thread-bindings-messages-eMia9gk1.js";
import { t as resolvePairingIdLabel } from "../pairing-labels-KKpHdorh.js";
export { SessionBindingError, __testing, addChannelAllowFromStoreEntry, approveChannelPairingCode, buildPairingReply, buildPluginBindingApprovalCustomId, buildPluginBindingDeclinedText, buildPluginBindingErrorText, buildPluginBindingResolvedText, buildPluginBindingUnavailableText, clearPairingAllowFromReadCacheForTest, createConversationBindingRecord, createScopedAccountReplyToModeResolver, createStaticReplyToModeResolver, createTopLevelChannelReplyToModeResolver, detachPluginConversationBinding, ensureConfiguredBindingRouteReady, ensureConfiguredBindingTargetReady, ensureConfiguredBindingTargetSession, formatThreadBindingDisabledError, formatThreadBindingDurationLabel, formatThreadBindingSpawnDisabledError, getConversationBindingCapabilities, getCurrentPluginConversationBinding, getSessionBindingService, hasShownPluginBindingFallbackNotice, isPluginOwnedBindingMetadata, isPluginOwnedSessionBindingRecord, isSessionBindingError, issuePairingChallenge, listChannelPairingRequests, listSessionBindingRecords, markPluginBindingFallbackNoticeShown, parsePluginBindingApprovalCustomId, primeConfiguredBindingRegistry, readChannelAllowFromStore, readChannelAllowFromStoreSync, readLegacyChannelAllowFromStore, readLegacyChannelAllowFromStoreSync, recordInboundSession, recordInboundSessionMetaSafe, registerSessionBindingAdapter, removeChannelAllowFromStoreEntry, requestPluginConversationBinding, resetConfiguredBindingTargetInPlace, resolveChannelAllowFromPath, resolveConfiguredBinding, resolveConfiguredBindingRecord, resolveConfiguredBindingRecordBySessionKey, resolveConfiguredBindingRecordForConversation, resolveConfiguredBindingRoute, resolveConversationBindingRecord, resolveConversationLabel, resolvePairingIdLabel, resolvePinnedMainDmOwnerFromAllowlist, resolvePluginConversationBindingApproval, resolveRuntimeConversationBindingRoute, resolveThreadBindingConversationIdFromBindingId, resolveThreadBindingEffectiveExpiresAt, resolveThreadBindingFarewellText, resolveThreadBindingIdleTimeoutMs, resolveThreadBindingIdleTimeoutMsForChannel, resolveThreadBindingIntroText, resolveThreadBindingLifecycle, resolveThreadBindingMaxAgeMs, resolveThreadBindingMaxAgeMsForChannel, resolveThreadBindingSpawnPolicy, resolveThreadBindingThreadName, resolveThreadBindingsEnabled, toPluginConversationBinding, touchConversationBindingRecord, unbindConversationBindingRecord, unregisterSessionBindingAdapter, upsertChannelPairingRequest };
