import { i as OpenClawConfig } from "./types.openclaw-FkxG7fk3.js"; import { a as SourceReplyDeliveryMode, s as ReplyPayload } from "./types-D4HaPNnq2.js"; import { d as InboundEventKind, i as CommandTurnContext } from "./templating-C_hE8CwW.js"; import { n as CreateTypingCallbacksParams, r as TypingCallbacks } from "./response-prefix-template-CYdaTWLL.js"; import { i as createReplyPrefixOptions, n as ReplyPrefixOptions, t as ReplyPrefixContextBundle } from "./reply-prefix-BnzUj_Bl.js"; //#region src/auto-reply/reply/source-reply-delivery-mode.d.ts type SourceReplyDeliveryModeContext = { ChatType?: string; InboundEventKind?: InboundEventKind; Provider?: string; Surface?: string; ExplicitDeliverRoute?: boolean; CommandAuthorized?: boolean; CommandBody?: string; CommandSource?: "text" | "native"; CommandTurn?: CommandTurnContext; BotUsername?: string; }; //#endregion //#region src/channels/message/reply-pipeline.d.ts type ReplyPrefixContext = ReplyPrefixContextBundle["prefixContext"]; declare function resolveChannelSourceReplyDeliveryMode(params: { cfg: OpenClawConfig; 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 };