massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver / lib / common / utils / uuid.d.ts
1 /**
2  * Represents a UUID as defined by rfc4122.
3  */
4 export interface UUID {
5     /**
6      * @returns the canonical representation in sets of hexadecimal numbers separated by dashes.
7      */
8     asHex(): string;
9     equals(other: UUID): boolean;
10 }
11 /**
12  * An empty UUID that contains only zeros.
13  */
14 export declare const empty: UUID;
15 export declare function v4(): UUID;
16 export declare function isUUID(value: string): boolean;
17 /**
18  * Parses a UUID that is of the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
19  * @param value A uuid string.
20  */
21 export declare function parse(value: string): UUID;
22 export declare function generateUuid(): string;