/** * `chant carve apply` — apply graduation for the strangler-fig carve (#197). * * The dial-turn from observe to apply: resolve the ownership marker that makes * the carved resource chant-owned and finalize the ordered apply runbook. * * BYOL-honest: it does not call the cloud. It computes the marker + graduation * plan and (with `--write`) emits a graduation doc. The apply is whatever * lifecycle you brought. */ import { type GraduationPlan } from "../../terraform/graduate.js"; export interface CarveApplyOptions { from?: string; /** Optional when the output dir holds a single carve manifest from `carve emit`. */ select?: string; env?: string; stack?: string; statePath?: string; output?: string; /** Write the graduation doc to the output dir. */ write?: boolean; /** Stamp the ownership marker into the emitted chant source. */ writeSource?: boolean; } export interface CarveApplyResult { ok: boolean; error?: string; plan?: GraduationPlan; written?: string; /** Emitted source files the ownership marker was stamped into. */ stamped?: string[]; /** The carve state manifest this graduation was recorded into. */ manifestPath?: string; /** True when the target came from the manifest, not --select. */ selectFromManifest?: boolean; } export declare function carveApply(opts: CarveApplyOptions): Promise; export declare function formatCarveApply(result: CarveApplyResult): string; //# sourceMappingURL=carve-apply.d.ts.map