import { Blockchain } from '../blockchain'; import { Block, RawBlock } from '../primitives/block'; export type SerializedBlockTemplate = { header: { sequence: number; previousBlockHash: string; noteCommitment: string; transactionCommitment: string; target: string; randomness: string; timestamp: number; graffiti: string; }; transactions: string[]; previousBlockInfo?: { target: string; timestamp: number; }; }; export declare class RawBlockTemplateSerde { static serialize(block: RawBlock, previousBlock: RawBlock): SerializedBlockTemplate; static deserialize(blockTemplate: SerializedBlockTemplate): RawBlock; } export declare class BlockTemplateSerde { static serialize(block: Block, previousBlock: Block): SerializedBlockTemplate; static deserialize(blockTemplate: SerializedBlockTemplate, chain: Blockchain): Block; } //# sourceMappingURL=BlockTemplateSerde.d.ts.map