/** * Supersede: mark an increment as replaced by a newer one. * * `specweave create-increment --supersedes NNNN` records the relationship on * both sides: the new increment gets `supersedes: `, the old one moves * to `abandoned` with `closeReason: "superseded by "`. * * @module core/tasks/supersede */ export interface SupersedeResult { ok: boolean; /** Full folder name of the superseded increment (when resolved). */ resolved?: string; message: string; } /** * Abandon `oldIdInput` (short or full id) in favour of `newIncrementId`, and * record `supersedes` on the new increment's metadata. Idempotent: re-running * on an already-abandoned increment only refreshes the closeReason. */ export declare function supersedeIncrement(projectRoot: string, oldIdInput: string, newIncrementId: string): SupersedeResult; /** Record `parent` on an increment's metadata (no change on the parent side). */ export declare function setParentIncrement(projectRoot: string, incrementId: string, parentInput: string): SupersedeResult; //# sourceMappingURL=supersede.d.ts.map