/**
 * E-to-Platform Suffix Migration
 *
 * Migrates legacy E suffix items to platform-specific suffixes (G/J/A).
 * ADR-0233: Platform suffix IDs.
 */
import { type PlatformSuffix } from './types.js';
export interface MigrationItem {
    id: string;
    source: string | undefined;
    folderPath: string | undefined;
}
export interface MigrationRename {
    oldId: string;
    newId: string;
    oldFolder: string | undefined;
    newFolder: string | undefined;
    source: string;
}
export interface MigrationPlan {
    renames: MigrationRename[];
    warnings: string[];
}
/**
 * Map an external source name to the correct platform suffix.
 * Returns 'E' for unknown sources (migration skipped).
 */
export declare function mapEToplatformSuffix(source: string | undefined): PlatformSuffix;
/**
 * Create a migration plan for E-suffix items.
 * Does NOT execute the migration — just builds the plan.
 */
export declare function planMigration(items: MigrationItem[]): MigrationPlan;
/**
 * Execute a migration plan — rename files and update references.
 * This is the destructive operation; planMigration() is safe.
 */
export declare function executeMigration(plan: MigrationPlan, fs: {
    rename: (oldPath: string, newPath: string) => Promise<void>;
    readFile: (path: string) => Promise<string>;
    writeFile: (path: string, content: string) => Promise<void>;
}): Promise<{
    renamed: number;
    errors: string[];
}>;
//# sourceMappingURL=migration.d.ts.map