UNPKG

453 BTypeScriptView Raw
1import hyperid from 'hyperid';
2/**
3 * Generate a (globally) unique identifier in a very fast way.
4 * Please note the ids ARE NOT formatted as UUID and have variable length.
5 * The format of generated values may change in the future.
6 *
7 * @internal
8 */
9export declare const generateUniqueId: hyperid.Instance;
10/**
11 * A regular expression for testing values generated by generateUniqueId.
12 * @internal
13 */
14export declare const UNIQUE_ID_PATTERN: RegExp;