/** * System File Operations Tools - V2.0 Phase 6 * * Non-project-aware file operations that work with absolute paths. * Completes Desktop Commander file operation parity. * * Phase 6 Tools: * - sys_copy_path: Copy files or directories * - sys_delete_path: Delete files or directories * - sys_path_exists: Check if path exists * - sys_move_path: Move or rename files/directories * - sys_create_directory: Create directory with parents */ import { type Tool } from '@modelcontextprotocol/sdk/types.js'; import { ProjectDatabase } from '../storage/database.js'; export declare const systemFileTools: Tool[]; /** * Copy Path Handler */ declare function copyPathHandler(params: { source: string; destination: string; recursive?: boolean; }): Promise<{ success: boolean; source: string; destination: string; recursive: boolean; message: string; error?: undefined; } | { success: boolean; error: { code: string; message: string; }; source?: undefined; destination?: undefined; recursive?: undefined; message?: undefined; }>; /** * Delete Path Handler */ declare function deletePathHandler(params: { path: string; recursive?: boolean; }): Promise<{ success: boolean; path: string; recursive: boolean; message: string; error?: undefined; } | { success: boolean; error: { code: string; message: string; }; path?: undefined; recursive?: undefined; message?: undefined; }>; /** * Path Exists Handler */ declare function pathExistsHandler(params: { path: string; }): Promise<{ success: boolean; path: string; exists: boolean; message: string; error?: undefined; } | { success: boolean; error: { code: string; message: string; }; path?: undefined; exists?: undefined; message?: undefined; }>; /** * Move Path Handler */ declare function movePathHandler(params: { source: string; destination: string; }): Promise<{ success: boolean; source: string; destination: string; message: string; error?: undefined; } | { success: boolean; error: { code: string; message: string; }; source?: undefined; destination?: undefined; message?: undefined; }>; /** * Create Directory Handler */ declare function createDirectoryHandler(params: { path: string; }): Promise<{ success: boolean; path: string; message: string; error?: undefined; } | { success: boolean; error: { code: string; message: string; }; path?: undefined; message?: undefined; }>; export declare function createSystemFileHandlers(db: ProjectDatabase): { sys_copy_path: typeof copyPathHandler; sys_delete_path: typeof deletePathHandler; sys_path_exists: typeof pathExistsHandler; sys_move_path: typeof movePathHandler; sys_create_directory: typeof createDirectoryHandler; }; export {}; //# sourceMappingURL=system-files.d.ts.map