import type { Command, HandlerContext } from "../index.js"; import { enqueueApproval } from "./approval-tasks.js"; import type { HumanInLoopPending } from "./types.js"; import type { HumanInLoopRuntimeOptions } from "./runtime-options.js"; export declare function invokeWithHumanInLoop(node: Command, ctx: HandlerContext, runtimeOptions: HumanInLoopRuntimeOptions, commandPath: string, options?: { enqueueApproval?: typeof enqueueApproval; spawnRunner?: boolean; }): Promise;