/** * @copyright Sister Software * @license MIT * @author Teffen Ellis, et al. */ import { PathBuilder, type UnwrapPathBuilder } from "./path-builder.js"; import type { Normalize } from "./type-utils.js"; /** * Fold `.` and `..` segments and collapse repeated separators, keeping a trailing separator. Unlike * {@linkcode resolvePath}, a relative path stays relative. * * @returns The normalized path — a {@linkcode PathBuilder} in, a {@linkcode PathBuilder} out. * @throws {TypeError} If path is not a string or {@linkcode PathBuilder}. */ export declare function normalize(path: T): T extends PathBuilder ? PathBuilder> : Normalize>; export default normalize; //# sourceMappingURL=normalize.d.ts.map