/** * Convert a filesystem path to use POSIX separators. * @param p Path to normalize. * @returns Path with forward slashes. */ export declare const toPosix: (p: string) => string; /** * Compute the relative POSIX path from a root directory. * @param root Base directory. * @param p Target path. * @returns Relative path using POSIX separators. */ export declare const relFrom: (root: string, p?: string) => string; /** * Compute a POSIX relative path from the current working directory. * @param p Target path. * @returns Relative path using POSIX separators. */ export declare const relFromCwd: (p: string) => string; /** * Resolve the real path if it exists, otherwise return the input path. * @param p Path to resolve. * @returns Resolved path or the original path if resolution fails. */ export declare const realpathIfExists: (p: string) => string; //# sourceMappingURL=paths.d.ts.map