import { r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { a as SourceReplyDeliveryMode, s as ReplyPayload } from "./get-reply-options.types-CS-CA1Iq.js"; import { n as InboundEventKind } from "./input-provenance-Cx2sX495.js"; import { i as CommandTurnContext } from "./templating-B8JLQEN3.js"; import { n as TypingCallbacks, t as CreateTypingCallbacksParams } from "./typing-Dchg8hMJ.js"; import { i as createReplyPrefixOptions, n as ReplyPrefixOptions, t as ReplyPrefixContextBundle } from "./reply-prefix-DLaNBZoC.js"; //#region src/auto-reply/reply/source-reply-delivery-mode.d.ts type SourceReplyDeliveryModeContext = { ChatType?: string; InboundEventKind?: InboundEventKind; CommandAuthorized?: boolean; CommandBody?: string; CommandSource?: "text" | "native"; CommandTurn?: CommandTurnContext; }; //#endregion //#region src/channels/message/reply-pipeline.d.ts type ReplyPrefixContext = ReplyPrefixContextBundle["prefixContext"]; declare function resolveChannelSourceReplyDeliveryMode(params: { cfg: KlawConfig; ctx: SourceReplyDeliveryModeContext; requested?: SourceReplyDeliveryMode; messageToolAvailable?: boolean; }): SourceReplyDeliveryMode; type ChannelReplyPipeline = ReplyPrefixOptions & { typingCallbacks?: TypingCallbacks; transformReplyPayload?: (payload: ReplyPayload) => ReplyPayload | null; }; type CreateChannelReplyPipelineParams = { cfg: Parameters[0]["cfg"]; agentId: string; channel?: string; accountId?: string; typing?: CreateTypingCallbacksParams; typingCallbacks?: TypingCallbacks; transformReplyPayload?: (payload: ReplyPayload) => ReplyPayload | null; }; declare function createChannelReplyPipeline(params: CreateChannelReplyPipelineParams): ChannelReplyPipeline; //#endregion export { resolveChannelSourceReplyDeliveryMode as a, createChannelReplyPipeline as i, CreateChannelReplyPipelineParams as n, ReplyPrefixContext as r, ChannelReplyPipeline as t };