/** * Planned-candidate display. * * Renders the human-readable orientation for a plan candidate before it is * previewed or confirmed. Wording comes from the plan's typed presentation * vocabulary — never from parsing plan names. The terminal result of an * executed operation is rendered from its `OperationResolution` at the emit * boundary, not here. * * @experimental This API is unstable and may change without notice. */ import * as Effect from "effect/Effect"; import { CliRenderer } from "../cli-renderer/index.js"; import { Verbosity } from "../cli-flags/index.js"; import type { OperationPresentation, Plan } from "../plan/plan.js"; /** Fallback vocabulary for planners that declare no presentation. */ export declare const defaultOperationPresentation: OperationPresentation; export declare const presentationOf: (plan: { readonly presentation?: OperationPresentation; }) => OperationPresentation; /** * Display a plan candidate. * * - `preview` renders conditional wording ("Would …", "N to apply"). * - `apply` renders orientation only when the candidate carries confirmable * risk — the wording states what is about to be done, never preview * phrasing; without confirmable risk nothing is rendered, because the * terminal resolution is the durable output. */ export declare const displayPlan: (plan: Plan, options?: { readonly mode?: "preview" | "apply"; }) => Effect.Effect; //# sourceMappingURL=display-plan.d.ts.map