import type { PathObject } from "./types.js"; export declare function hasWindowsLikePath(path: string): boolean; export declare function toPortableSeparators(path: string): string; export declare function removeTrailingSeparatorsExceptRoot(path: string, windows: boolean): string; export declare function runtimeUsesWindowsPaths(): boolean; export declare function portableNormalize(path: string, windows: boolean): string; export declare function portableJoin(paths: readonly string[], windows: boolean): string; export declare function portableDirname(path: string, windows: boolean): string; export declare function portableBasename(path: string, ext: string | undefined, windows: boolean): string; export declare function portableExtname(path: string, windows: boolean): string; export declare function portableIsAbsolute(path: string, windows: boolean): boolean; export declare function portableResolve(paths: readonly string[], windows: boolean): string; export declare function portableRelative(from: string, to: string, windows: boolean): string; export declare function portableParse(path: string, windows: boolean): PathObject; export declare function portableFormat(pathObject: PathObject, windows: boolean): string; //# sourceMappingURL=portable.d.ts.map