import { ConflictResolutionData } from "./ConflictResolutionData"; import { ObjectState } from "./ObjectState"; /** * Object state manager using a version field * Allows moving to next state using the version field of the object * * VersionedObjectState requires GraphQL types to contain version field. * For example: * * type User { * id: ID! * version: String * } */ export declare class VersionedState implements ObjectState { nextState(currentObjectState: ConflictResolutionData): any; currentState(currentObjectState: ConflictResolutionData): any; }