/** Managed-block extraction and migration into the current marker format. * File-size sweep: split out of migration.ts. */ import type { LegacySurface } from './migration-inventory.js'; /** Remove only old marker blocks; callers retain unrelated content and keys. */ export declare function removeLegacyManagedBlocks(content: string): string; /** Recover a YAML file corrupted by the historical HTML comment installer. */ export declare function deCorruptAiderYaml(content: string): string; export declare function takeLegacyBlock(content: string): { body: string; remainder: string; } | undefined; export declare function writeMigratedInstructions(root: string, surface: LegacySurface, original: string, beforeWrite: ((path: string) => void) | undefined): { changed: boolean; paths: string[]; }; //# sourceMappingURL=migration-blocks.d.ts.map