UNPKG

arela

Version:

AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.

38 lines 1.1 kB
/** * File movement operations for slice extraction */ import type { Slice } from "../detect/types.js"; import type { FileMovement, RollbackInfo } from "./types.js"; export declare class FileMover { private rollbackInfo; /** * Create extraction plan for files - determine where each file should go */ planFileMovement(slice: Slice, cwd?: string): Promise<FileMovement[]>; /** * Move files to their target locations */ moveFiles(movements: FileMovement[], dryRun?: boolean): Promise<void>; /** * Clean up empty directories after file movements */ cleanupEmptyDirs(cwd?: string): Promise<void>; /** * Recursively remove empty directories */ private removeEmptyDirsRecursive; /** * Rollback file movements */ rollback(): Promise<void>; /** * Convert slice name to directory slug * e.g., "Authentication" -> "authentication" */ private slugify; /** * Get rollback info for inspection/testing */ getRollbackInfo(): RollbackInfo; } //# sourceMappingURL=file-mover.d.ts.map