2 * Represents a UUID as defined by rfc4122.
4 export interface UUID {
6 * @returns the canonical representation in sets of hexadecimal numbers separated by dashes.
9 equals(other: UUID): boolean;
12 * An empty UUID that contains only zeros.
14 export declare const empty: UUID;
15 export declare function v4(): UUID;
16 export declare function isUUID(value: string): boolean;
18 * Parses a UUID that is of the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
19 * @param value A uuid string.
21 export declare function parse(value: string): UUID;
22 export declare function generateUuid(): string;