import type { BlockReplyChunking } from "../../agents/pi-embedded-block-chunker.js"; import type { SkillCommandSpec } from "../../agents/skills.js"; import type { SessionEntry } from "../../config/sessions.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import type { MsgContext, TemplateContext } from "../templating.js"; import type { ElevatedLevel, ReasoningLevel, ThinkLevel, VerboseLevel } from "../thinking.js"; import type { GetReplyOptions, ReplyPayload } from "../types.js"; import type { buildStatusReply, handleCommands } from "./commands.runtime.js"; import type { InlineDirectives } from "./directive-handling.parse.js"; import type { createModelSelectionState } from "./model-selection.js"; import type { TypingController } from "./typing.js"; export type InlineActionResult = { kind: "reply"; reply: ReplyPayload | ReplyPayload[] | undefined; } | { kind: "continue"; directives: InlineDirectives; abortedLastRun: boolean; }; export declare function handleInlineActions(params: { ctx: MsgContext; sessionCtx: TemplateContext; cfg: OpenClawConfig; agentId: string; agentDir?: string; sessionEntry?: SessionEntry; previousSessionEntry?: SessionEntry; sessionStore?: Record; sessionKey: string; storePath?: string; sessionScope: Parameters[0]["sessionScope"]; workspaceDir: string; isGroup: boolean; opts?: GetReplyOptions; typing: TypingController; allowTextCommands: boolean; inlineStatusRequested: boolean; command: Parameters[0]["command"]; skillCommands?: SkillCommandSpec[]; directives: InlineDirectives; cleanedBody: string; elevatedEnabled: boolean; elevatedAllowed: boolean; elevatedFailures: Array<{ gate: string; key: string; }>; defaultActivation: Parameters[0]["defaultGroupActivation"]; resolvedThinkLevel: ThinkLevel | undefined; resolvedVerboseLevel: VerboseLevel | undefined; resolvedReasoningLevel: ReasoningLevel; resolvedElevatedLevel: ElevatedLevel; blockReplyChunking?: BlockReplyChunking; resolvedBlockStreamingBreak?: "text_end" | "message_end"; resolveDefaultThinkingLevel: Awaited>["resolveDefaultThinkingLevel"]; provider: string; model: string; contextTokens: number; directiveAck?: ReplyPayload; abortedLastRun: boolean; skillFilter?: string[]; }): Promise;