import { BinaryWriter, SerializableWire, SerializeWire } from '@neo-one/client-common-browserify'; import { BaseState } from '@neo-one/client-full-common-browserify'; import BN from 'bn.js'; import { DeserializeWireBaseOptions, DeserializeWireOptions } from './Serializable'; declare type Votes = ReadonlyArray; export interface ValidatorsCountUpdate { readonly votes?: Votes; } export interface ValidatorsCountAdd { readonly version?: number; readonly votes?: Votes; } export declare class ValidatorsCount extends BaseState implements SerializableWire { static deserializeWireBase(options: DeserializeWireBaseOptions): ValidatorsCount; static deserializeWire(options: DeserializeWireOptions): ValidatorsCount; readonly serializeWire: SerializeWire; readonly votes: Votes; private readonly sizeInternal; constructor({ version, votes }?: ValidatorsCountAdd); readonly size: number; update({ votes }: ValidatorsCountUpdate): ValidatorsCount; serializeWireBase(writer: BinaryWriter): void; } export {};