import { n as normalizeChatType, t as ChatType } from "../chat-type-B6XXSSnm.js";
import { t as ChannelId } from "../channel-id.types-DjYEl-_2.js";
import { f as resetSystemEventsForTest, o as enqueueSystemEvent } from "../system-events-BXY8tQQd.js";
import { A as ChannelReplyTransport, B as ChannelToolSend, C as ChannelMessageToolSchemaContribution, D as ChannelOutboundTargetMode, E as ChannelOutboundSessionRoute, F as ChannelStreamingAdapter, G as CHANNEL_MESSAGE_ACTION_NAMES, H as PreferredAudioFileFormat, I as ChannelStructuredComponents, L as ChannelThreadingAdapter, M as ChannelSecurityDmPolicy, N as ChannelSetupInput, O as ChannelPollContext, P as ChannelStatusIssue, R as ChannelThreadingContext, S as ChannelMessageToolDiscovery, T as ChannelMeta, U as ChannelLegacyStateMigrationPlan, V as ChannelTtsVoiceDeliveryCapabilities, W as ChannelMessageCapability, _ as ChannelMentionAdapter, a as ChannelAgentPromptAdapter, b as ChannelMessageActionDiscoveryContext, c as ChannelCapabilities, d as ChannelDirectoryEntryKind, f as ChannelExposure, g as ChannelLogSink, h as ChannelHeartbeatDeps, i as ChannelAccountState, j as ChannelSecurityContext, k as ChannelPollResult, l as ChannelCrossContextPresentationFactory, m as ChannelGroupContext, n as BaseTokenResolution, o as ChannelAgentTool, p as ChannelFocusedBindingContext, r as ChannelAccountSnapshot, s as ChannelAgentToolFactory, t as BaseProbeResult, u as ChannelDirectoryEntry, v as ChannelMessageActionAdapter, w as ChannelMessagingAdapter, x as ChannelMessagePreparedSendPayloadContext, y as ChannelMessageActionContext, z as ChannelThreadingToolContext } from "../types.core-B3DLiTAx.js";
import { a as resolvePollMaxSelections, i as normalizePollInput, n as PollInput, r as normalizePollDurationHours, t as NormalizedPollInput } from "../polls-CfHkU59X.js";
import { a as ChannelOutboundFormattedContext, c as ChannelOutboundTargetRef, i as ChannelOutboundContext, n as ChannelOutboundAdapter, o as ChannelOutboundPayloadContext, r as ChannelOutboundChunkContext, s as ChannelOutboundPayloadHint, t as ChannelDeliveryCapabilities } from "../outbound.types-DPaNOjhi.js";
import { B as ChannelApprovalKind, F as ChannelApprovalNativeDeliveryCapabilities, I as ChannelApprovalNativeDeliveryPreference, L as ChannelApprovalNativeRequest, P as ChannelApprovalNativeAdapter, R as ChannelApprovalNativeSurface, z as ChannelApprovalNativeTarget } from "../approval-handler-runtime-types-CEaT9oqJ.js";
import { A as ChannelGroupAdapter, B as ChannelSecretsAdapter, C as ChannelDoctorConfigMutation, D as ChannelElevatedAdapter, E as ChannelDoctorSequenceResult, F as ChannelLogoutContext, H as ChannelSetupAdapter, I as ChannelLogoutResult, L as ChannelResolveKind, M as ChannelLifecycleAdapter, N as ChannelLoginWithQrStartResult, O as ChannelGatewayAdapter, P as ChannelLoginWithQrWaitResult, R as ChannelResolveResult, S as ChannelDoctorAdapter, T as ChannelDoctorLegacyConfigRule, U as ChannelStatusAdapter, V as ChannelSecurityAdapter, _ as ChannelConfiguredBindingConversationRef, a as ChannelApprovalDeliveryAdapter, b as ChannelConversationBindingSupport, c as ChannelApprovalRenderAdapter, d as ChannelCapabilitiesDiagnostics, f as ChannelCapabilitiesDisplayLine, g as ChannelConfigAdapter, h as ChannelCommandConversationContext, i as ChannelApprovalCapability, j as ChannelHeartbeatAdapter, k as ChannelGatewayContext, l as ChannelApproveCommandBehavior, m as ChannelCommandAdapter, n as ChannelAllowlistAdapter, o as ChannelApprovalForwardTarget, p as ChannelCapabilitiesDisplayTone, r as ChannelApprovalAdapter, s as ChannelApprovalInitiatingSurfaceState, t as ChannelActionAvailabilityState, u as ChannelAuthAdapter, v as ChannelConfiguredBindingMatch, w as ChannelDoctorEmptyAllowlistAccountContext, x as ChannelDirectoryAdapter, y as ChannelConfiguredBindingProvider, z as ChannelResolverAdapter } from "../types.adapters-B2fUaMl5.js";
import { t as ChannelPairingAdapter } from "../pairing.types-DZD6HvAb.js";
import { t as ChannelPlugin } from "../types.plugin-D2Tbg_ut.js";
import { t as ChannelMessageActionName } from "../types.public-Co_eICoe.js";
import { c as createTypingCallbacks, i as createReplyPrefixOptions, n as ReplyPrefixOptions, o as CreateTypingCallbacksParams, r as createReplyPrefixContext, s as TypingCallbacks, t as ReplyPrefixContextBundle } from "../reply-prefix-CrPLB9zV.js";
import { r as recordChannelActivity } from "../channel-activity-B4WQX84y.js";
import { c as waitUntilAbort, i as createAccountStatusSink, o as keepHttpServerTaskAlive } from "../channel-lifecycle.core-CHMZIMuz.js";
import { t as normalizeChannelId } from "../registry-CE_KPzio.js";
import { i as presentationPageSize, n as adaptMessagePresentationForChannel, r as applyPresentationActionLimits, t as reduceInteractiveReply } from "../interactive-u-eAKW8d.js";
import { a as emitHeartbeatEvent, c as resetHeartbeatEventsForTest, i as HeartbeatIndicatorType, l as resolveIndicatorType, n as resolveHeartbeatVisibility, o as getLastHeartbeatEvent, r as HeartbeatEventPayload, s as onHeartbeatEvent, t as ResolvedHeartbeatVisibility } from "../heartbeat-visibility-DgB160F2.js";
import { n as WaitForTransportReadyParams, r as waitForTransportReady, t as TransportReadyResult } from "../transport-ready-j58aSal7.js";
export { type BaseProbeResult, type BaseTokenResolution, type CHANNEL_MESSAGE_ACTION_NAMES, type ChannelAccountSnapshot, type ChannelAccountState, type ChannelActionAvailabilityState, type ChannelAgentPromptAdapter, type ChannelAgentTool, type ChannelAgentToolFactory, type ChannelAllowlistAdapter, type ChannelApprovalAdapter, type ChannelApprovalCapability, type ChannelApprovalDeliveryAdapter, type ChannelApprovalForwardTarget, type ChannelApprovalInitiatingSurfaceState, type ChannelApprovalKind, type ChannelApprovalNativeAdapter, type ChannelApprovalNativeDeliveryCapabilities, type ChannelApprovalNativeDeliveryPreference, type ChannelApprovalNativeRequest, type ChannelApprovalNativeSurface, type ChannelApprovalNativeTarget, type ChannelApprovalRenderAdapter, type ChannelApproveCommandBehavior, type ChannelAuthAdapter, type ChannelCapabilities, type ChannelCapabilitiesDiagnostics, type ChannelCapabilitiesDisplayLine, type ChannelCapabilitiesDisplayTone, type ChannelCommandAdapter, type ChannelCommandConversationContext, type ChannelConfigAdapter, type ChannelConfiguredBindingConversationRef, type ChannelConfiguredBindingMatch, type ChannelConfiguredBindingProvider, type ChannelConversationBindingSupport, type ChannelCrossContextPresentationFactory, type ChannelDeliveryCapabilities, type ChannelDirectoryAdapter, type ChannelDirectoryEntry, type ChannelDirectoryEntryKind, type ChannelDoctorAdapter, type ChannelDoctorConfigMutation, type ChannelDoctorEmptyAllowlistAccountContext, type ChannelDoctorLegacyConfigRule, type ChannelDoctorSequenceResult, type ChannelElevatedAdapter, type ChannelExposure, type ChannelFocusedBindingContext, type ChannelGatewayAdapter, type ChannelGatewayContext, type ChannelGroupAdapter, type ChannelGroupContext, type ChannelHeartbeatAdapter, type ChannelHeartbeatDeps, type ChannelId, type ChannelLegacyStateMigrationPlan, type ChannelLifecycleAdapter, type ChannelLogSink, type ChannelLoginWithQrStartResult, type ChannelLoginWithQrWaitResult, type ChannelLogoutContext, type ChannelLogoutResult, type ChannelMentionAdapter, type ChannelMessageActionAdapter, type ChannelMessageActionContext, type ChannelMessageActionDiscoveryContext, type ChannelMessageActionName, type ChannelMessageCapability, type ChannelMessagePreparedSendPayloadContext, type ChannelMessageToolDiscovery, type ChannelMessageToolSchemaContribution, type ChannelMessagingAdapter, type ChannelMeta, type ChannelOutboundAdapter, type ChannelOutboundChunkContext, type ChannelOutboundContext, type ChannelOutboundFormattedContext, type ChannelOutboundPayloadContext, type ChannelOutboundPayloadHint, type ChannelOutboundSessionRoute, type ChannelOutboundTargetMode, type ChannelOutboundTargetRef, type ChannelPairingAdapter, type ChannelPlugin, type ChannelPollContext, type ChannelPollResult, type ChannelReplyTransport, type ChannelResolveKind, type ChannelResolveResult, type ChannelResolverAdapter, type ChannelSecretsAdapter, type ChannelSecurityAdapter, type ChannelSecurityContext, type ChannelSecurityDmPolicy, type ChannelSetupAdapter, type ChannelSetupInput, type ChannelStatusAdapter, type ChannelStatusIssue, type ChannelStreamingAdapter, type ChannelStructuredComponents, type ChannelThreadingAdapter, type ChannelThreadingContext, type ChannelThreadingToolContext, type ChannelToolSend, type ChannelTtsVoiceDeliveryCapabilities, ChatType, CreateTypingCallbacksParams, HeartbeatEventPayload, HeartbeatIndicatorType, NormalizedPollInput, PollInput, type PreferredAudioFileFormat, ReplyPrefixContextBundle, ReplyPrefixOptions, ResolvedHeartbeatVisibility, TransportReadyResult, TypingCallbacks, WaitForTransportReadyParams, adaptMessagePresentationForChannel, applyPresentationActionLimits, createAccountStatusSink, createReplyPrefixContext, createReplyPrefixOptions, createTypingCallbacks, emitHeartbeatEvent, enqueueSystemEvent, getLastHeartbeatEvent, keepHttpServerTaskAlive, normalizeChannelId, normalizeChatType, normalizePollDurationHours, normalizePollInput, onHeartbeatEvent, presentationPageSize, recordChannelActivity, reduceInteractiveReply, resetHeartbeatEventsForTest, resetSystemEventsForTest, resolveHeartbeatVisibility, resolveIndicatorType, resolvePollMaxSelections, waitForTransportReady, waitUntilAbort };