/** * Safely converts a path or path segments to a string, handling various input types. * Useful for ensuring consistent path string representations across different platforms. * * @param pathInput - The path or path segments to convert to a string * @returns The path as a normalized string */ export declare function pathToString(pathInput: string | string[] | unknown): string; /** * Determines if a given path is within the user's home directory * which is generally considered a safe location for MCP operations. * * @param inputPath - Path to check * @returns True if the path is within the user's home directory */ export declare function isPathInHome(inputPath: string): boolean; /** * Gets a user-friendly display version of a path for use in messages. * For paths within the home directory, can replace with ~ for brevity. * * @param inputPath - Path to format * @param useHomeTilde - Whether to replace home directory with ~ symbol * @returns Formatted path string */ export declare function formatDisplayPath(inputPath: string, useHomeTilde?: boolean): string;