import { type RemediationPlan, type RemediationPlanOptions } from './plan'; /** * Durable remediation application. * * The shape mirrors applySprintCloseTransaction: safe managed paths, an exclusively published * immutable artifact, everything under the state-writer lock, compare-and-swap on live state, and a * read-back verification pass. The plan is rebuilt *inside* the lock so the digests a write is * authorized against are the ones observed while the writer is held — a plan computed outside the * lock is a preview, never a warrant to write. */ export interface RemediationApplyResult { scope: string; remediationId: string; recordPath: string; sprintPath: string; commitment: string; /** True when the record already existed from an interrupted attempt and this run finished it. */ resumed: boolean; plan: RemediationPlan; } export declare function applyRemediationTransaction(options: RemediationPlanOptions): RemediationApplyResult; /** * Single remediations write primitive. Caller must already hold the state-writer lock. * Accepts live state that is still the base (normal apply) or already the result (explain/resume). */ export declare function commitRemediationPlanUnlocked(plan: RemediationPlan): RemediationApplyResult; //# sourceMappingURL=transaction.d.ts.map