export declare const PartType: { Slash: number; Root: number; Up: number; Noop: number; }; export type PartType = (typeof PartType)[keyof typeof PartType]; export type PathItem = string | PartType; export declare class Path { readonly parts: PathItem[]; constructor(parts?: PathItem[]); toString(): string; add(part: PathItem): void; } export declare function splitPath(path: string): Path; export declare function pathJoin(...paths: string[]): string; export declare function relativePath(path: string, relative: string): string; //# sourceMappingURL=relative-path.d.ts.map