UNPKG

435 BTypeScriptView Raw
1export declare class Guid {
2 static validator: RegExp;
3 static EMPTY: string;
4 static isGuid(guid: any): boolean;
5 static create(): Guid;
6 static createEmpty(): Guid;
7 static parse(guid: string): Guid;
8 static raw(): string;
9 private static gen;
10 private value;
11 private constructor();
12 equals(other: Guid): boolean;
13 isEmpty(): boolean;
14 toString(): string;
15 toJSON(): any;
16}