| 1 |
export type UUIDTypes<TBuf extends Uint8Array = Uint8Array> = string | TBuf; |
| 2 |
export type Version1Options = { |
| 3 |
node?: Uint8Array; |
| 4 |
clockseq?: number; |
| 5 |
random?: Uint8Array; |
| 6 |
rng?: () => Uint8Array; |
| 7 |
msecs?: number; |
| 8 |
nsecs?: number; |
| 9 |
_v6?: boolean; |
| 10 |
}; |
| 11 |
export type Version4Options = { |
| 12 |
random?: Uint8Array; |
| 13 |
rng?: () => Uint8Array; |
| 14 |
}; |
| 15 |
export type Version6Options = Version1Options; |
| 16 |
export type Version7Options = { |
| 17 |
random?: Uint8Array; |
| 18 |
msecs?: number; |
| 19 |
seq?: number; |
| 20 |
rng?: () => Uint8Array; |
| 21 |
}; |
| 22 |
export type NonSharedArrayBuffer = ReturnType<typeof Uint8Array.of>; |