/** * File Organizer MCP Server v3.4.2 * File System Utilities */ /** * Check if a file exists * @param filePath - Path to check * @returns True if file exists */ export declare function fileExists(filePath: string): Promise; /** * Ensure a directory exists, creating it if necessary * @param dirPath - Directory path */ export declare function ensureDir(dirPath: string): Promise; /** * Expand home directory (~) in path * @param inputPath - Path that may contain ~ * @returns Path with ~ expanded */ export declare function expandHomePath(inputPath: string): string; /** * Expand environment variables in path * Supports: $VAR, ${VAR}, %VAR% * Also handles escape sequences: $$ and \$ become literal $ * @param inputPath - Path with env vars * @returns Path with env vars expanded */ export declare function expandEnvVars(inputPath: string): string; /** * Normalize path for cross-platform compatibility * @param inputPath - Path to normalize * @returns Normalized path */ export declare function normalizePath(inputPath: string): string; /** * Check if child path is contained within parent path * @param parentPath - Parent directory * @param childPath - Child path to check * @returns True if child is within parent */ export declare function isSubPath(parentPath: string, childPath: string): boolean; //# sourceMappingURL=file-utils.d.ts.map