import { ECPoint, UInt160, UInt256 } from '@neo-one/client-common-esnext-esm'; import { Account, Validator, ValidatorsCount, ValidatorsCountUpdate, ValidatorUpdate } from '@neo-one/node-core-esnext-esm'; import BN from 'bn.js'; import { Blockchain } from './Blockchain'; export declare class ValidatorCache { private readonly blockchain; private readonly mutableAccounts; private readonly mutableValidators; private mutableValidatorsCount; constructor(blockchain: Blockchain); getAccount(hash: UInt160): Promise; updateAccountBalance(hash: UInt160, asset: UInt256, value: BN): Promise; getValidator(publicKey: ECPoint): Promise; addValidator(validator: Validator): Promise; deleteValidator(publicKey: ECPoint): Promise; updateValidatorVotes(publicKey: ECPoint, value: BN): Promise; updateValidator(publicKey: ECPoint, update: ValidatorUpdate): Promise; getAllValidators(): Promise; getValidatorsCount(): Promise; updateValidatorsCountVotes(index: number, value: BN): Promise; addValidatorsCount(validatorsCount: ValidatorsCount): Promise; updateValidatorsCount(update: ValidatorsCountUpdate): Promise; }