/** * Delegator-side CLI approval for pending delegated events. * * KERIpy correspondence: * - this is the bounded command analogue of KLI's delegation approval flow * - pending work is discovered from durable `delegables.` escrow, not from * controller notifications * * Maintainer rule: * - `/delegate/request` notifications are UI hints only * - approval ordering and event selection come from the delegated-event escrows * and the delegator's own KEL state */ import { type Operation } from "effection"; import { type AgentRuntime } from "../agent-runtime.js"; import type { Hab, Habery } from "../habbing.js"; interface DelegateConfirmArgs { name?: string; base?: string; headDirPath?: string; passcode?: string; alias?: string; compat?: boolean; interact?: boolean; auto?: boolean; authenticate?: boolean; code?: string[]; codeTime?: string; } /** Approve pending delegated events for the selected local delegator habitat. * * This is the explicit use-case service for the delegation approval workflow. * The public CLI command is now a thin adapter: parse → open context → call → render → close. */ export declare function performDelegationApproval(hby: Habery, hab: Hab, runtime: AgentRuntime, confirmArgs: DelegateConfirmArgs): Operation; /** Approve pending delegated events for the selected local delegator habitat. */ export declare function delegateConfirmCommand(args: Record): Operation; export {}; //# sourceMappingURL=delegate.d.ts.map