import type { PatchOp } from "./manifest"; import type { FeatureArtifacts } from "./registry"; export declare function collectPatchBackups(projectRoot: string, patches: Array<{ file: string; ops: PatchOp[]; }>): FeatureArtifacts["patchBackups"]; export type RevertArtifactsResult = { deletedFiles: string[]; restoredFiles: string[]; removedBootstrapFiles: string[]; }; export declare function revertFeatureArtifacts(projectRoot: string, artifacts: FeatureArtifacts | undefined, dryRun: boolean): RevertArtifactsResult;