import type { MigrationItem } from "../types/migration.js"; export interface UpdateOptions { dryRun?: boolean; force?: boolean; skipAll?: boolean; createNew?: boolean; allowDowngrade?: boolean; migrate?: boolean; } /** * Clean up empty directories after file migration * Recursively removes empty parent directories up to .aim-studio root */ /** @internal Exported for testing only */ export declare function cleanupEmptyDirs(cwd: string, dirPath: string): void; /** * Sort migrations for safe execution order * - rename-dir with deeper paths first (to handle nested directories) * - rename-dir before rename/delete */ /** @internal Exported for testing only */ export declare function sortMigrationsForExecution(migrations: MigrationItem[]): MigrationItem[]; /** * Main update command */ export declare function update(options: UpdateOptions): Promise; //# sourceMappingURL=update.d.ts.map