import { i as OpenClawConfig } from "./types.openclaw-D90VXd-X.js"; import { a as SourceReplyDeliveryMode, n as GetReplyOptions } from "./get-reply-options.types-wE0Fajzu.js"; import { t as ReplyPayload } from "./reply-payload-DVcklM6x.js"; import { n as MsgContext, t as FinalizedMsgContext } from "./templating-Q28hG1KW.js"; import { n as ReplyDispatcher, t as ReplyDispatchKind } from "./reply-dispatcher.types-B-zV5y6R.js"; //#region src/auto-reply/reply/abort.runtime-types.d.ts type FastAbortResult = { handled: boolean; aborted: boolean; stoppedSubagents?: number; }; type TryFastAbortFromMessage = (params: { ctx: FinalizedMsgContext; cfg: OpenClawConfig; }) => Promise; type FormatAbortReplyText = (stoppedSubagents?: number) => string; //#endregion //#region src/auto-reply/reply/get-reply.types.d.ts type GetReplyFromConfig = (ctx: MsgContext, opts?: GetReplyOptions, configOverride?: OpenClawConfig) => Promise; //#endregion //#region src/auto-reply/reply/dispatch-from-config.types.d.ts type DispatchFromConfigResult = { queuedFinal: boolean; counts: Record; failedCounts?: Partial>; sourceReplyDeliveryMode?: SourceReplyDeliveryMode; beforeAgentRunBlocked?: boolean; }; type DispatchFromConfigParams = { ctx: FinalizedMsgContext; cfg: OpenClawConfig; dispatcher: ReplyDispatcher; replyOptions?: Omit; replyResolver?: GetReplyFromConfig; fastAbortResolver?: TryFastAbortFromMessage; formatAbortReplyTextResolver?: FormatAbortReplyText; /** Optional patch applied to the already loaded config before reply resolution. */ configOverride?: OpenClawConfig; }; type DispatchReplyFromConfig = (params: DispatchFromConfigParams) => Promise; //#endregion export { DispatchReplyFromConfig as n, GetReplyFromConfig as r, DispatchFromConfigResult as t };