import type { FileEdit } from '../../commands/generate/templates/shared/file-plan.js'; /** Saves original contents before applying generation edits. */ export declare const saveGenerationJournal: (root: string, edits: FileEdit[]) => Promise; /** Removes the completed transaction's recovery record. */ export declare const clearGenerationJournal: (root: string) => Promise; /** Restores interrupted generation before replaying setup from a fresh state. */ export declare const recoverGeneration: (root: string, resume: boolean) => Promise;