import { SemVer } from 'semver'; export type TagProps = { hash: string; version: string; }; /** * `Tag` provides a sematic reference to a specific state `Snap` in the working tree. */ export declare class Tag { /** * tag hash, can be used to load it by component-factory.getSnap */ readonly hash: string; /** * sematic version of the snap. */ readonly version: SemVer; constructor( /** * tag hash, can be used to load it by component-factory.getSnap */ hash: string, /** * sematic version of the snap. */ version: SemVer); /** * create a plain tag object. */ toObject(): TagProps; static fromObject(tag: TagProps): Tag; }