export type IPackageRef = { name: string; version?: string; subpath?: string; }; export declare class PackageRef implements IPackageRef { readonly name: string; readonly version?: string; readonly subpath?: string; constructor(input: string | IPackageRef, version?: string, subpath?: string); static parse(input: string): PackageRef; static fromUrl(url: string): PackageRef | undefined; format(): string; root(): string; static rootOf(pkg: string): string; withVersion(v: string | undefined): PackageRef; static isBare(pkg: string): boolean; } //# sourceMappingURL=packageRef.d.ts.map