/** * Migration manifests for AIM Studio versions * * Each version's migrations are stored in separate JSON files under manifests/ * Format: manifests/{version}.json (e.g., manifests/0.1.9.json) */ import type { MigrationItem } from "../types/migration.js"; /** * Get all migrations needed to upgrade from one version to another * * @param fromVersion - Current installed version * @param toVersion - Target version to upgrade to * @returns Array of migration items to apply, in version order */ export declare function getMigrationsForVersion(fromVersion: string, toVersion: string): MigrationItem[]; /** * Check if there are any pending migrations between versions */ export declare function hasPendingMigrations(fromVersion: string, toVersion: string): boolean; /** * Get human-readable summary of pending migrations */ export declare function getMigrationSummary(fromVersion: string, toVersion: string): { renames: number; deletes: number; }; /** * Get all registered migration versions */ export declare function getAllMigrationVersions(): string[]; /** * Get ALL migrations from all manifests (regardless of version) * Used for detecting orphaned migrations that should have been applied */ export declare function getAllMigrations(): MigrationItem[]; /** * Clear the manifest cache (useful for testing) */ export declare function clearManifestCache(): void; /** * Get aggregated metadata for migrations between versions * Returns combined changelog, breaking status, migrate recommendation, and migration guides */ export declare function getMigrationMetadata(fromVersion: string, toVersion: string): { changelog: string[]; breaking: boolean; recommendMigrate: boolean; migrationGuides: { version: string; guide: string; aiInstructions?: string; }[]; }; //# sourceMappingURL=index.d.ts.map