/** * File Organizer MCP Server v3.4.2 * System Organize Service * * Handles organizing files from system directories (Downloads, Desktop, Temp) * to appropriate system folders (Music, Documents, Pictures, Videos) */ export interface SystemDirs { music: string; documents: string; pictures: string; videos: string; downloads: string; desktop: string; temp: string; } export interface SystemOrganizeOptions { sourceDir: string; useSystemDirs?: boolean; createSubfolders?: boolean; fallbackToLocal?: boolean; localFallbackPrefix?: string; conflictStrategy?: "skip" | "rename" | "overwrite"; dryRun?: boolean; copyInsteadOfMove?: boolean; } export interface SystemOrganizeResult { movedToSystem: number; organizedLocally: number; failed: number; details: Array<{ file: string; destination: "system" | "local"; targetPath: string; category: string; }>; undoManifest?: { manifestId: string; operations: Array<{ from: string; to: string; timestamp: string; }>; }; } export declare class SystemOrganizeService { private pathValidator; private categorizer; private systemDirs; constructor(); getSystemDirectories(): Promise; validateSourceDir(sourceDir: string): Promise<{ valid: boolean; normalizedPath: string; reason?: string; }>; private isSubPath; canWriteToDirectory(dirPath: string): Promise<{ writable: boolean; hasSpace: boolean; availableBytes?: number; reason?: string; }>; determineSystemDestination(category: string, useSystemDirs: boolean, sourceDir: string): Promise<{ destination: string; useLocalFallback: boolean; }>; private determineLocalFallback; categorizeFile(fileName: string): string; private ensureDirectoryExists; private moveOrCopyFile; private handleConflict; systemOrganize(options: SystemOrganizeOptions): Promise; } //# sourceMappingURL=system-organize.service.d.ts.map