import type { CommandNode, Group } from "../index.js"; import type { HumanInLoopRuntime } from "./types.js"; /** * Human-in-loop config on a command is only allowed when a runtime is wired. * Called by every entrypoint (CLI, MCP, SDK) after the root is normalized. */ export declare function assertHumanInLoopWired(root: CommandNode, humanInLoop: HumanInLoopRuntime | undefined): void; export declare function mergeApprovalsRoot(root: Group, options: { approvals?: boolean; humanInLoop?: HumanInLoopRuntime; }): Group;