import { Arguments, Argument } from './vendor/arguments/index.js'; export declare class Path { namespace: string; type: 'VERSION' | 'STAGE'; version?: number; stage?: string; params: Arguments; location: [mode: string, occurance: number][]; constructor(namespace: string, index: number | string, paramsInput?: Arguments | Argument[], location?: [mode: string, occurance: number][]); get ns(): string; get path(): string; get index(): string; hashKey(): any; isLive(): boolean; get step(): string; toString(): string; toJSON(): Path.JSON; withParams(args: Arguments): Path; asParams(pathKey?: string): Arguments; get filetype(): string; get shunted(): Path; static fromString(str: string): Path; static fromJSON(input: Path.JSON): Path; } export declare namespace Path { type JSON = { namespace: string; index?: string | number; params?: any; }; } export declare enum PathType { ABSOLUTE = 0, RELATIVE = 1, STORAGE = 2, LIBRARY = 3 } export declare class PathReference { path: string; pathType: PathType; format: 'import' | 'local' | 'external'; constructor(str: string, format?: 'import' | 'local' | 'external'); /** * Valid path conversions: * * ./hello (from some/file.xyz) -> 'some/hello.xyz/LIVE' * ./hello.xyz/LIVE (from ./some/file.xyz) -> 'some/hello.xyz/LIVE' * ./hello.xyz/1242 (from ./some/file.xyz) -> 'some/hello.xyz/1242' * ./../hello (from ./some/file.xyz) -> 'hello.xyz/LIVE' * ./hello.xyz/EU (from ./some/file.xyz) -> 'some/hello.xyz/EU' * /hello (from some/file.xyz) -> 'hello.xyz/LIVE' * /hello.xyz/LIVE (from ./some/file.xyz) -> 'hello.xyz/LIVE' * /hello.xyz/1242 (from ./some/file.xyz) -> 'hello.xyz/1242' * /../hello (from ./some/file.xyz) -> 'hello.xyz/LIVE' * /hello.xyz/EU (from ./some/file.xyz) -> 'hello.xyz/EU' */ getPath(options: { referencePoint?: Path; defaultMode?: string; }): Path; toString(): string; serialize(): string; toJSON(): { path: string; pathType: PathType; format: "import" | "local" | "external"; }; static decodeType(str: string): PathType; static deserialize(str: any): PathReference; static fromJSON(json: any): PathReference; } //# sourceMappingURL=path.d.ts.map