import { UInt256 } from '@neo-one/client-common-esnext-esm'; import { Monitor } from '@neo-one/monitor-esnext-esm'; import { Account, AccountKey, AccountUnclaimed, AccountUnclaimedKey, AccountUnclaimedsKey, AccountUnspent, AccountUnspentKey, AccountUnspentsKey, AccountUpdate, Action, ActionKey, ActionsKey, Asset, AssetKey, AssetUpdate, Block, BlockchainStorage, BlockData, BlockDataKey, ChangeSet, Contract, ContractKey, Header, InvocationData, InvocationDataKey, StorageItem, StorageItemKey, StorageItemsKey, StorageItemUpdate, Transaction, TransactionData, TransactionDataKey, TransactionDataUpdate, TransactionKey, Validator, ValidatorKey, ValidatorsCount, ValidatorsCountUpdate, ValidatorUpdate, VM, WriteBlockchain } from '@neo-one/node-core-esnext-esm'; import { BlockLikeStorageCache, OutputStorageCache, ReadAddDeleteStorageCache, ReadAddStorageCache, ReadAddUpdateMetadataStorageCache, ReadAddUpdateStorageCache, ReadAllAddUpdateDeleteStorageCache, ReadGetAllAddDeleteStorageCache, ReadGetAllAddStorageCache, ReadGetAllAddUpdateDeleteStorageCache } from './StorageCache'; interface WriteBatchBlockchainOptions { readonly settings: WriteBlockchain['settings']; readonly currentBlock: WriteBlockchain['currentBlock'] | undefined; readonly currentHeader: WriteBlockchain['currentHeader'] | undefined; readonly storage: BlockchainStorage; readonly vm: VM; readonly getValidators: WriteBlockchain['getValidators']; readonly transactionHash?: UInt256; } export declare class WriteBatchBlockchain { readonly settings: WriteBlockchain['settings']; readonly account: ReadAllAddUpdateDeleteStorageCache; readonly accountUnspent: ReadGetAllAddDeleteStorageCache; readonly accountUnclaimed: ReadGetAllAddDeleteStorageCache; readonly action: ReadGetAllAddStorageCache; readonly asset: ReadAddUpdateStorageCache; readonly block: BlockLikeStorageCache; readonly blockData: ReadAddStorageCache; readonly header: BlockLikeStorageCache
; readonly transaction: ReadAddStorageCache; readonly transactionData: ReadAddUpdateStorageCache; readonly output: OutputStorageCache; readonly contract: ReadAddDeleteStorageCache; readonly storageItem: ReadGetAllAddUpdateDeleteStorageCache; readonly validator: ReadAllAddUpdateDeleteStorageCache; readonly invocationData: ReadAddStorageCache; readonly validatorsCount: ReadAddUpdateMetadataStorageCache; readonly getValidators: WriteBlockchain['getValidators']; private readonly currentBlockInternal; private readonly currentHeaderInternal; private readonly storage; private readonly vm; private readonly caches; private readonly transactionHash; constructor(options: WriteBatchBlockchainOptions); readonly currentBlock: Block; readonly currentBlockIndex: number; readonly currentHeader: Header; getChangeSet(): ChangeSet; persistBlock(monitorIn: Monitor, block: Block): Promise; private persistUTXOTransactions; private persistTransactions; private persistTransaction; private processStateTransaction; private updateAccounts; private getOutputWithInput; private getInputOutputs; private groupByAddress; private updateAccount; private updateCoins; private updateCoin; } export {};