mute-structs
Version:
NodeJS module providing an implementation of the LogootSplit CRDT algorithm
11 lines (10 loc) • 666 B
TypeScript
import { Identifier } from "./identifier";
import { IdentifierTuple } from "./identifiertuple";
export declare const INT32_BOTTOM_USER: number;
export declare const INT32_TOP_USER: number;
export declare const MIN_TUPLE: IdentifierTuple;
export declare const MIN_TUPLE_USER: IdentifierTuple;
export declare const MAX_TUPLE_USER: IdentifierTuple;
export declare const MAX_TUPLE: IdentifierTuple;
export declare function createBetweenPosition(id1: Identifier | null, id2: Identifier | null, replicaNumber: number, clock: number): Identifier;
export declare function createAtPosition(replicaNumber: number, clock: number, position: number, offset: number): Identifier;