1 | import { Version1Options } from './types.js';
|
2 | type V1State = {
|
3 | node?: Uint8Array;
|
4 | clockseq?: number;
|
5 | msecs?: number;
|
6 | nsecs?: number;
|
7 | };
|
8 | declare function v1(options?: Version1Options, buf?: undefined, offset?: number): string;
|
9 | declare function v1(options: Version1Options | undefined, buf: Uint8Array, offset?: number): Uint8Array;
|
10 | export declare function updateV1State(state: V1State, now: number, rnds: Uint8Array): V1State;
|
11 | export default v1;
|