UNPKG

413 BTypeScriptView Raw
1import { Version7Options } from './types.js';
2type V7State = {
3 msecs?: number;
4 seq?: number;
5};
6declare function v7(options?: Version7Options, buf?: undefined, offset?: number): string;
7declare function v7(options: Version7Options | undefined, buf: Uint8Array, offset?: number): Uint8Array;
8export declare function updateV7State(state: V7State, now: number, rnds: Uint8Array): V7State;
9export default v7;