import * as Effect from "effect/Effect"; import { type ConfirmationRecovery, type ConfirmationRecoveryArgument, type ConfiguredAgentOperation, type PlanExecution, type RequestedPlanIntent } from "@agentxm/workspace/transitions/planning"; import type { PlanPolicyId } from "@agentxm/workspace/transitions/planning"; export declare const makeConfirmationRecovery: (command: ReadonlyArray, arguments_: ReadonlyArray) => ConfirmationRecovery; /** * The parsed intent a route registered, handed to the one derivation that * owns it. `yes` reaches this function only from the routes whose * capabilities declare a preapprovable confirmation and therefore register * `--yes`; the derivation in `workspace-operations` decides what a preview * and an apply each do with it, so no downstream planner sees the raw flag. */ export declare const makePlanExecution: (intent: RequestedPlanIntent, recovery: ConfirmationRecovery, acceptedPolicies?: ReadonlyArray, configuredAgentOperations?: ReadonlyArray) => Effect.Effect; export declare const makePublicPositionalPlanExecution: (intent: RequestedPlanIntent, command: ReadonlyArray, positionals: ReadonlyArray, acceptedPolicies?: ReadonlyArray) => Effect.Effect; export declare const makeInstallPlanExecution: (intent: RequestedPlanIntent & { readonly force?: boolean; }, command: ReadonlyArray, locators: ReadonlyArray, arguments_?: ReadonlyArray) => Effect.Effect; export declare const makeUninstallPlanExecution: (intent: RequestedPlanIntent, command: ReadonlyArray, positionals: ReadonlyArray) => Effect.Effect; //# sourceMappingURL=confirmation-recovery.d.ts.map