import { ReplicatedData } from '.'; /** * A Vote Replicated Data type. * * A Vote Replicated Data type allows all nodes an a cluster to vote on a condition, such as whether a user is online. * * @public */ export declare class Vote implements ReplicatedData { private currentSelfVote; private currentVotesFor; private currentTotalVoters; private delta; /** * The number of nodes that have voted for this condition. */ get votesFor(): number; /** * The total number of nodes that have voted. */ get totalVoters(): number; /** * Whether at least one node has voted for this condition. */ get atLeastOne(): boolean; /** * Whether a majority of nodes have voted for this condition. */ get majority(): boolean; /** * Whether all of nodes have voted for this condition. */ get all(): boolean; /** * Get or set the current node's vote. */ get vote(): boolean; set vote(value: boolean); toString: () => string; }