/** @group Path */ /** * Normalizes the given path. * Removes duplicate slashes, removes trailing slashes, adds a leading slash. */ export declare function pathNormalize(path: string): string; /** * Same as `pathNormalize`, but ensures the path is a directory (always ends with a slash). */ export declare function pathNormalizeDirectory(path: string): string; /** * Returns the directory (dirname) of the given path. */ export declare function pathDirectory(path: string): string; /** * Returns the basename of the given path. */ export declare function pathBasename(path: string): string; /** * Returns the extension of the given path. */ export declare function pathExtension(path: string): string; export declare function pathJoin(...paths: string[]): string;