export declare class Path {
    private readonly path;
    constructor(path?: (string | number)[]);
    of: (element: string | number) => Path;
    isRoot: () => boolean;
    last: () => string | number | undefined;
    toArray: () => (string | number)[];
}
