/**
 * Migration Manager - Handles migration from legacy structure to portfolio structure
 */
import { PortfolioManager } from './PortfolioManager.js';
import { ElementType } from './types.js';
export interface MigrationResult {
    success: boolean;
    migratedCount: number;
    errors: string[];
    backedUp: boolean;
    backupPath?: string;
}
export declare class MigrationManager {
    private portfolioManager;
    constructor(portfolioManager: PortfolioManager);
    /**
     * Check if migration is needed
     */
    needsMigration(): Promise<boolean>;
    /**
     * Perform migration from legacy to portfolio structure
     */
    migrate(options?: {
        backup?: boolean;
    }): Promise<MigrationResult>;
    /**
     * Migrate a single persona file
     */
    private migratePersona;
    /**
     * Create backup of legacy personas
     */
    private createBackup;
    /**
     * Get migration status report
     */
    getMigrationStatus(): Promise<{
        hasLegacyPersonas: boolean;
        legacyPersonaCount: number;
        portfolioExists: boolean;
        portfolioStats: Record<ElementType, number>;
    }>;
}
//# sourceMappingURL=MigrationManager.d.ts.map