import { ReplicatedCounter } from './counter'; import { ReplicatedSet } from './set'; import { ReplicatedRegister } from './register'; import { ReplicatedMap } from './map'; import { ReplicatedCounterMap } from './counter-map'; import { ReplicatedRegisterMap } from './register-map'; import { ReplicatedMultiMap } from './multi-map'; import { Vote } from './vote'; /** * A Replicated Data type. * * @public */ export interface ReplicatedData { } export { ReplicatedCounter, ReplicatedSet, ReplicatedRegister, ReplicatedMap, ReplicatedCounterMap, ReplicatedRegisterMap, ReplicatedMultiMap, Vote, }; /** * A clock that may be used by {@link ReplicatedRegister}. * * @public */ export declare type Clock = number; /** * An enum of all clocks that can be used by {@link ReplicatedRegister}. * * @public */ export declare enum Clocks { /** * The default clock, uses the machines system time. */ DEFAULT = 0, /** * A reverse clock, for achieving first - write - wins semantics. */ REVERSE = 1, /** * A custom clock. */ CUSTOM = 2, /** * A custom clock that automatically increments if the current clock value is less than the existing clock value. */ CUSTOM_AUTO_INCREMENT = 3 }