import { CheckpointNumber } from '@aztec/foundation/branded-types'; import { BufferReader } from '@aztec/foundation/serialize'; import type { FieldsOf } from '@aztec/foundation/types'; import { z } from 'zod'; import { L1PublishedData } from '../checkpoint/published_checkpoint.js'; import { L2Block } from './l2_block.js'; import { CommitteeAttestation } from './proposal/committee_attestation.js'; /** * Encapsulates an L2 Block along with the checkpoint data associated with it. */ export declare class CheckpointedL2Block { checkpointNumber: CheckpointNumber; block: L2Block; l1: L1PublishedData; attestations: CommitteeAttestation[]; constructor(checkpointNumber: CheckpointNumber, block: L2Block, l1: L1PublishedData, attestations: CommitteeAttestation[]); static get schema(): z.ZodEffects, z.ZodNumber>, CheckpointNumber, string | number | bigint>; block: z.ZodEffects; nextAvailableLeafIndex: z.ZodPipeline, z.ZodNumber>; }, "strip", z.ZodTypeAny, { root: import("@aztec/foundation/schemas").Fr; nextAvailableLeafIndex: number; }, { root: string; nextAvailableLeafIndex: string | number | bigint; }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, { root: string; nextAvailableLeafIndex: string | number | bigint; }>; header: import("@aztec/foundation/schemas").ZodFor; body: import("@aztec/foundation/schemas").ZodFor; checkpointNumber: z.ZodEffects, z.ZodNumber>, CheckpointNumber, string | number | bigint>; indexWithinCheckpoint: z.ZodEffects, z.ZodNumber>, import("@aztec/foundation/branded-types").IndexWithinCheckpoint, string | number | bigint>; }, "strip", z.ZodTypeAny, { archive: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; header: import("../tx/block_header.js").BlockHeader; body: import("./body.js").Body; checkpointNumber: number & { _branding: "CheckpointNumber"; }; indexWithinCheckpoint: number & { _branding: "IndexWithinCheckpoint"; }; }, { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }>, L2Block, { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }>; l1: z.ZodEffects, z.ZodBigInt>; timestamp: z.ZodPipeline, z.ZodBigInt>; blockHash: z.ZodString; }, "strip", z.ZodTypeAny, { blockNumber: bigint; timestamp: bigint; blockHash: string; }, { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }>, L1PublishedData, { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }>; attestations: z.ZodArray; signature: z.ZodEffects, `0x${string}`, string>, import("./proposal/committee_attestation.js").Signature, string>; }, "strip", z.ZodTypeAny, { address: import("@aztec/foundation/eth-address").EthAddress; signature: import("./proposal/committee_attestation.js").Signature; }, { address: string; signature: string; }>, CommitteeAttestation, { address: string; signature: string; }>, "many">; }, "strip", z.ZodTypeAny, { checkpointNumber: number & { _branding: "CheckpointNumber"; }; block: L2Block; l1: L1PublishedData; attestations: CommitteeAttestation[]; }, { checkpointNumber: string | number | bigint; block: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }; l1: { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }; attestations: { address: string; signature: string; }[]; }>, CheckpointedL2Block, { checkpointNumber: string | number | bigint; block: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }; l1: { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }; attestations: { address: string; signature: string; }[]; }>; static fromBuffer(bufferOrReader: Buffer | BufferReader): CheckpointedL2Block; static fromFields(fields: FieldsOf): CheckpointedL2Block; toBuffer(): Buffer; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2twb2ludGVkX2wyX2Jsb2NrLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYmxvY2svY2hlY2twb2ludGVkX2wyX2Jsb2NrLnR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