/** * Cross-platform path.join function that works in any JavaScript environment * Handles regular paths and file:// URLs from import.meta.url * @param segments - Path segments to join * @returns Joined path string */ export declare function join(...segments: string[]): string; /** * Convert a file:// URL to a system path * @param fileUrl - A file:// URL (e.g., from import.meta.url) * @returns System path */ export declare function fileUrlToPath(fileUrl: string): string; /** * Convert a system path to a file:// URL * @param path - System path * @returns file:// URL */ export declare function pathToFileUrl(path: string): string; /** * Get the directory from a file URL or path * @param urlOrPath - File URL (like import.meta.url) or regular path * @returns Directory path */ export declare function dirname(urlOrPath: string): string;