/// import { ECPoint, UInt160, UInt256, UInt256Hex } from '@neo-one/client-common'; import { Block } from '@neo-one/node-core'; import BN from 'bn.js'; import { HeaderContext } from './HeaderContext'; import { Transactions } from './types'; interface RequestSentContextAdd { readonly viewNumber: number; readonly myIndex: number; readonly primaryIndex: number; readonly expectedView: readonly number[]; readonly validators: readonly ECPoint[]; readonly blockReceivedTimeSeconds: number; readonly transactions: Transactions; readonly signatures: ReadonlyArray; readonly header: { readonly type: 'new'; readonly previousHash: UInt256; readonly transactionHashes: readonly UInt256Hex[]; readonly blockIndex: number; readonly nonce: BN; readonly timestamp: number; readonly nextConsensus: UInt160; } | { readonly type: 'existing'; readonly block: Block; readonly transactionHashes: readonly UInt256Hex[]; }; } export declare class RequestSentContext extends HeaderContext { constructor({ viewNumber, myIndex, primaryIndex, expectedView, validators, blockReceivedTimeSeconds, transactions, signatures, header, }: RequestSentContextAdd); cloneExpectedView({ expectedView }: { readonly expectedView: readonly number[]; }): RequestSentContext; cloneSignatures({ signatures, }: { readonly signatures: ReadonlyArray; }): RequestSentContext; } export {};