/** Detection and safe cleanup rules for pre-adapter platform installations. * * File-size sweep: split into sibling modules — the surface inventory in * migration-inventory.ts, read-only detection in migration-detect.ts, * managed-block extraction/migration in migration-blocks.ts, and the * cursor/claude settings.json legacy-hook helpers in * migration-cursor-hook.ts. Re-exported here so every existing import path * (`./migration.js`) keeps working unchanged; `migrateLegacyArtifacts`, the * orchestrating entry point, stays in this file. */ import type { LegacyMigrationResult } from './migration-inventory.js'; export { deCorruptAiderYaml, removeLegacyManagedBlocks, } from './migration-blocks.js'; export { findLegacySurfaces, isMonomindOwned } from './migration-detect.js'; export type { LegacyMigrationResult, LegacySurface } from './migration-inventory.js'; export { LEGACY_SURFACE_INVENTORY } from './migration-inventory.js'; export declare function migrateLegacyArtifacts(root: string, scope: 'project' | 'user', options?: { dryRun?: boolean; removeLegacy?: boolean; /** Called before a verified legacy artifact is changed or removed. */ beforeWrite?: (path: string) => void; }): LegacyMigrationResult; //# sourceMappingURL=migration.d.ts.map