import { TinyType } from 'tiny-types';
export declare class Path extends TinyType {
    private static readonly Separator;
    readonly value: string;
    static fromJSON(v: string): Path;
    static fromFileURL(fileUrl: URL): Path;
    static from(...segments: string[]): Path;
    static fromSanitisedString(value: string): Path;
    constructor(value: string);
    join(another: Path): Path;
    split(): string[];
    resolve(another: Path): Path;
    relative(another: Path): Path;
    directory(): Path;
    basename(): string;
    isAbsolute(): boolean;
    root(): Path;
    toFileURL(): URL;
}
//# sourceMappingURL=Path.d.ts.map