/** * Rollback proposal construction: revert a committed result into the edits that * undo it, plus the entry→edit field mapping a rollback (or a promote) shares so * every persisted field is restored. Split out of refine.ts to keep that file * under the 500-line ceiling; refine.ts re-exports both for existing importers. */ import type { HarnessEntry, RefinementProposal, RefinementResult } from './types.ts'; /** Revert a committed result: reverse edit order, restoring full entries from * snapshots when available; legacy content-only records degrade and are marked. */ export declare function rollbackProposal(target: RefinementResult): RefinementProposal; /** Map a full entry snapshot onto edit fields so a rollback (or a promote) * restores every persisted field: content, title, metadata, protection, * blastRadius, and the skill-only description/reference/arguments. Legacy * records carry only content. The single source of truth for the entry→edit * field mapping. */ export declare function entryToEditFields(before: HarnessEntry): Record; //# sourceMappingURL=rollback.d.ts.map