import { StructSerializer, VectorSerializer } from "./collections"; import { uint64, uint8, uint32 } from './basic/integers'; import { timePointSec, StringSerializer, BytesSerializer } from './basic'; import { extensions, sha256, checksum } from './chain'; import { processedTransactionSerializer } from './transaction'; import { accountId } from './chain/id/protocol'; import { blockId } from './chain/id'; export const rand: typeof sha256; export const blockSignatureSerializer: StructSerializer<{ _bba_sign: BytesSerializer, _delegate: typeof uint32, _fallback: typeof uint32, _leader: typeof uint64, _producer: typeof uint32, _step: typeof uint32, _value: typeof uint8, }>; export const blockHeaderSerializer: StructSerializer<{ previous: typeof blockId, round: typeof uint64, attempt: typeof uint8, timestamp: typeof timePointSec, account: typeof accountId, delegate: typeof accountId, transaction_merkle_root: typeof checksum, vm_root: VectorSerializer, prev_signatures: VectorSerializer, extensions: typeof extensions, }>; export const signedBlockHeaderSerializer: StructSerializer, }>; export const signedBlockSerializer: StructSerializer, }>;