import { a as createCommandTurnContext, c as isNativeCommandTurn, l as isTextSlashCommandTurn, o as isAuthorizedTextSlashCommandTurn, r as CommandTurnContext, s as isExplicitCommandTurn, u as InboundEventKind } from "./templating-Pr1xaf5R.js";
import { n as AccessGroupMembershipResolver } from "./access-groups-Csw5hgV7.js";
import { a as resolveEnvelopeFormatOptions, i as formatInboundFromLabel, r as formatInboundEnvelope, t as EnvelopeFormatOptions } from "./envelope-BQRRK8vn.js";
import { a as MentionGateParams, c as MentionGateWithBypassResult, d as ResolveInboundMentionDecisionParams, f as implicitMentionKindWhen, h as resolveMentionGatingWithBypass, i as InboundMentionPolicy, l as ResolveInboundMentionDecisionFlatParams, m as resolveMentionGating, n as InboundMentionDecision, o as MentionGateResult, p as resolveInboundMentionDecision, r as InboundMentionFacts, s as MentionGateWithBypassParams, t as InboundImplicitMentionKind, u as ResolveInboundMentionDecisionNestedParams } from "./mention-gating-D6dFDlTf.js";
import { n as createInboundDebouncer, r as resolveInboundDebounceMs } from "./inbound-debounce-w8jVRe6k.js";
import { A as SupplementalContextFacts, P as recordChannelBotPairLoopAndCheckSuppression, d as ChannelTurnDroppedHistoryOptions, j as ChannelBotLoopProtectionFacts, m as ChannelTurnRecordOptions, v as CommandFacts, x as InboundMediaFacts } from "./types-qx0VTuTq.js";
import { C as finalizeChannelInboundContext, S as filterChannelInboundSupplementalContext, _ as FinalizeChannelInboundContextAsyncParams, b as buildChannelInboundEventContext, c as resolveChannelTurnDispatchCounts, g as ChannelInboundSupplementalResolutionOptions, h as BuiltChannelInboundEventContext, m as BuildChannelInboundEventContextParams, o as hasFinalChannelTurnDispatch, p as BuildChannelInboundEventContextAsyncParams, r as recordDroppedChannelInboundHistory, s as hasVisibleChannelTurnDispatch, v as FinalizeChannelInboundContextParams, w as resolveChannelInboundSupplementalContext, x as filterChannelInboundQuoteContext, y as FinalizeChannelInboundContextResult } from "./kernel-C2OTiIUZ.js";
import { i as toLocationContext, n as NormalizedLocation, r as formatLocationText, t as LocationSource } from "./location-D6ia4w3e.js";
import { i as resolveInboundDirectDmAccessWithRuntime, n as ResolvedInboundDirectDmAccess, r as createPreCryptoDirectDmAuthorizer, t as DirectDmCommandAuthorizationRuntime } from "./direct-dm-access-Bh7uIp7C.js";
import { n as DirectDmPreCryptoGuardPolicyOverrides, r as createDirectDmPreCryptoGuardPolicy, t as DirectDmPreCryptoGuardPolicy } from "./direct-dm-guard-policy-DGv6Tk_t.js";
import { t as dispatchInboundDirectDmWithRuntime } from "./direct-dm-gYla4Gca.js";
import { a as normalizeMentionText, i as matchesMentionWithExplicit, n as buildMentionRegexes, r as matchesMentionPatterns } from "./mentions-DXuKjj3N.js";
import { a as ChannelInboundMediaInput, c as toHistoryMediaEntries, d as classifyChannelInboundEvent, f as resolveUnmentionedGroupInboundPolicy, h as shouldDebounceTextInbound, i as filterChannelTurnSupplementalContext, l as toInboundMediaFacts, m as createChannelInboundDebouncer, n as BuiltChannelTurnContext, o as ChannelInboundMediaPayload, p as resolveInboundSessionEnvelopeContext, r as buildChannelTurnContext, s as buildChannelInboundMediaPayload, t as BuildChannelTurnContextParams, u as ClassifyChannelInboundEventParams } from "./channel-inbound-D862Zj6I.js";
import { r as logInboundDrop, t as LogFn } from "./logging-BuEYHHqy.js";
import { g as runChannelInboundEvent, i as PreparedInboundReply, n as ChannelInboundEventRunnerParams, r as InboundReplyDispatchResult, s as dispatchChannelInboundReply, t as AssembledInboundReply, u as dispatchReplyFromConfigWithSettledDispatcher, v as runPreparedInboundReply } from "./inbound-reply-dispatch-QOXdWZWK.js";
import { r as mergeInboundPathRoots } from "./inbound-path-policy-C5kkOV4j.js";
export { type AccessGroupMembershipResolver, type AssembledInboundReply, type BuildChannelInboundEventContextAsyncParams, type BuildChannelInboundEventContextParams, BuildChannelTurnContextParams, type BuiltChannelInboundEventContext, BuiltChannelTurnContext, type ChannelBotLoopProtectionFacts, type ChannelTurnDroppedHistoryOptions as ChannelInboundDroppedHistoryOptions, type ChannelInboundEventRunnerParams, type ChannelInboundMediaInput, type ChannelInboundMediaInput as ChannelTurnMediaInput, type ChannelInboundMediaPayload, type ChannelInboundMediaPayload as ChannelTurnMediaPayload, type ChannelInboundSupplementalResolutionOptions, type ClassifyChannelInboundEventParams, type CommandFacts, type CommandTurnContext, type DirectDmCommandAuthorizationRuntime, type DirectDmPreCryptoGuardPolicy, type DirectDmPreCryptoGuardPolicyOverrides, type EnvelopeFormatOptions, type FinalizeChannelInboundContextAsyncParams, type FinalizeChannelInboundContextParams, type FinalizeChannelInboundContextResult, type InboundEventKind, type InboundEventKind as InboundTurnKind, type InboundImplicitMentionKind, type InboundMediaFacts, type InboundMentionDecision, type InboundMentionFacts, type InboundMentionPolicy, type InboundReplyDispatchResult, type ChannelTurnRecordOptions as InboundReplyRecordOptions, type LocationSource, type LogFn, type MentionGateParams, type MentionGateResult, type MentionGateWithBypassParams, type MentionGateWithBypassResult, type NormalizedLocation, type PreparedInboundReply, type ResolveInboundMentionDecisionFlatParams, type ResolveInboundMentionDecisionNestedParams, type ResolveInboundMentionDecisionParams, type ResolvedInboundDirectDmAccess, type SupplementalContextFacts, buildChannelInboundEventContext, buildChannelInboundMediaPayload, buildChannelInboundMediaPayload as buildChannelTurnMediaPayload, buildChannelTurnContext, buildMentionRegexes, classifyChannelInboundEvent, createChannelInboundDebouncer, createCommandTurnContext, createDirectDmPreCryptoGuardPolicy, createInboundDebouncer, createPreCryptoDirectDmAuthorizer, dispatchChannelInboundReply, dispatchInboundDirectDmWithRuntime, dispatchReplyFromConfigWithSettledDispatcher, filterChannelInboundQuoteContext, filterChannelInboundSupplementalContext, filterChannelTurnSupplementalContext, finalizeChannelInboundContext, formatInboundEnvelope, formatInboundFromLabel, formatLocationText, hasFinalChannelTurnDispatch as hasFinalInboundReplyDispatch, hasVisibleChannelTurnDispatch as hasVisibleInboundReplyDispatch, implicitMentionKindWhen, isAuthorizedTextSlashCommandTurn, isExplicitCommandTurn, isNativeCommandTurn, isTextSlashCommandTurn, logInboundDrop, matchesMentionPatterns, matchesMentionWithExplicit, mergeInboundPathRoots, normalizeMentionText, recordChannelBotPairLoopAndCheckSuppression, recordDroppedChannelInboundHistory, resolveChannelInboundSupplementalContext, resolveEnvelopeFormatOptions, resolveInboundDebounceMs, resolveInboundDirectDmAccessWithRuntime, resolveInboundMentionDecision, resolveChannelTurnDispatchCounts as resolveInboundReplyDispatchCounts, resolveInboundSessionEnvelopeContext, resolveMentionGating, resolveMentionGatingWithBypass, resolveUnmentionedGroupInboundPolicy, runChannelInboundEvent, runPreparedInboundReply, shouldDebounceTextInbound, toHistoryMediaEntries, toInboundMediaFacts, toLocationContext };