import type { RemoteClawConfig } from "../../config/config.js"; import type { SessionEntry } from "../../config/sessions.js"; import type { MsgContext } from "../templating.js"; import type { ReplyPayload } from "../types.js"; import { buildStatusReply } from "./commands.js"; import { type InlineDirectives } from "./directive-handling.js"; import type { TypingController } from "./typing.js"; type AgentDefaults = NonNullable["defaults"]; export type ApplyDirectiveResult = { kind: "reply"; reply: ReplyPayload | ReplyPayload[] | undefined; } | { kind: "continue"; directives: InlineDirectives; directiveAck?: ReplyPayload; perMessageQueueMode?: InlineDirectives["queueMode"]; perMessageQueueOptions?: { debounceMs?: number; cap?: number; dropPolicy?: InlineDirectives["dropPolicy"]; }; }; export declare function applyInlineDirectiveOverrides(params: { ctx: MsgContext; cfg: RemoteClawConfig; agentId: string; agentDir?: string; agentCfg: AgentDefaults; sessionEntry: SessionEntry; sessionStore: Record; sessionKey: string; storePath?: string; sessionScope: Parameters[0]["sessionScope"]; isGroup: boolean; allowTextCommands: boolean; command: Parameters[0]["command"]; directives: InlineDirectives; messageProviderKey: string; runtimeId: string; provider: string; model: string; defaultActivation: () => ReturnType[0]["defaultGroupActivation"]>; /** Upstream feature: whether elevated security is enabled. */ elevatedEnabled?: boolean; /** Upstream feature: elevated security allowed for this context. */ elevatedAllowed?: boolean; /** Upstream feature: elevated security failure reasons. */ elevatedFailures?: { gate: string; key: string; }[]; typing: TypingController; }): Promise; export {};