import { BufferReader } from '@aztec/foundation/serialize'; import type { FieldsOf } from '@aztec/foundation/types'; import { z } from 'zod'; import { CommitteeAttestation } from '../block/proposal/committee_attestation.js'; import { Checkpoint } from './checkpoint.js'; export declare class L1PublishedData { blockNumber: bigint; timestamp: bigint; blockHash: string; constructor(blockNumber: bigint, timestamp: bigint, blockHash: string); static get schema(): 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; }>; static random(): L1PublishedData; static fromFields(fields: FieldsOf): L1PublishedData; static fromBuffer(bufferOrReader: Buffer | BufferReader): L1PublishedData; toBuffer(): Buffer; } export declare class PublishedCheckpoint { /** The checkpoint itself. */ checkpoint: Checkpoint; /** Info on when this checkpoint was published on L1. */ l1: L1PublishedData; /** The attestations for the last block in the checkpoint. */ attestations: CommitteeAttestation[]; constructor( /** The checkpoint itself. */ checkpoint: Checkpoint, /** Info on when this checkpoint was published on L1. */ l1: L1PublishedData, /** The attestations for the last block in the checkpoint. */ attestations: CommitteeAttestation[]); static get schema(): 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; blocks: z.ZodArray; 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>, import("@aztec/foundation/branded-types").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("../block/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; }>, import("../block/l2_block.js").L2Block, { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }>, "many">; number: z.ZodEffects, z.ZodNumber>, import("@aztec/foundation/branded-types").CheckpointNumber, string | number | bigint>; feeAssetPriceModifier: z.ZodPipeline, z.ZodBigInt>; }, "strip", z.ZodTypeAny, { archive: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot; header: import("../rollup/checkpoint_header.js").CheckpointHeader; blocks: import("../block/l2_block.js").L2Block[]; number: number & { _branding: "CheckpointNumber"; }; feeAssetPriceModifier: bigint; }, { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; blocks: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }[]; number: string | number | bigint; feeAssetPriceModifier: string | number | bigint; }>, Checkpoint, { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; blocks: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }[]; number: string | number | bigint; feeAssetPriceModifier: 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("../block/proposal/committee_attestation.js").Signature, string>; }, "strip", z.ZodTypeAny, { address: import("@aztec/foundation/eth-address").EthAddress; signature: import("../block/proposal/committee_attestation.js").Signature; }, { address: string; signature: string; }>, CommitteeAttestation, { address: string; signature: string; }>, "many">; }, "strip", z.ZodTypeAny, { checkpoint: Checkpoint; l1: L1PublishedData; attestations: CommitteeAttestation[]; }, { checkpoint: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; blocks: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }[]; number: string | number | bigint; feeAssetPriceModifier: string | number | bigint; }; l1: { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }; attestations: { address: string; signature: string; }[]; }>, PublishedCheckpoint, { checkpoint: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; blocks: { archive: { root: string; nextAvailableLeafIndex: string | number | bigint; }; header?: any; body?: any; checkpointNumber: string | number | bigint; indexWithinCheckpoint: string | number | bigint; }[]; number: string | number | bigint; feeAssetPriceModifier: string | number | bigint; }; l1: { blockNumber: string | number | bigint; timestamp: string | number | bigint; blockHash: string; }; attestations: { address: string; signature: string; }[]; }>; static getFields(fields: FieldsOf): readonly [Checkpoint, L1PublishedData, CommitteeAttestation[]]; static from(fields: FieldsOf): PublishedCheckpoint; static fromBuffer(bufferOrReader: Buffer | BufferReader): PublishedCheckpoint; toBuffer(): Buffer; } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGlzaGVkX2NoZWNrcG9pbnQuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jaGVja3BvaW50L3B1Ymxpc2hlZF9jaGVja3BvaW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE9BQU8sRUFBRSxZQUFZLEVBQXFCLE1BQU0sNkJBQTZCLENBQUM7QUFDOUUsT0FBTyxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFeEQsT0FBTyxFQUFFLENBQUMsRUFBRSxNQUFNLEtBQUssQ0FBQztBQUV4QixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUVsRixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFN0MscUJBQWEsZUFBZTtJQUVqQixXQUFXLEVBQUUsTUFBTTtJQUNuQixTQUFTLEVBQUUsTUFBTTtJQUNqQixTQUFTLEVBQUUsTUFBTTtJQUgxQixZQUNTLFdBQVcsRUFBRSxNQUFNLEVBQ25CLFNBQVMsRUFBRSxNQUFNLEVBQ2pCLFNBQVMsRUFBRSxNQUFNLEVBQ3RCO0lBRUosTUFBTSxLQUFLLE1BQU07Ozs7Ozs7Ozs7Ozs7Ozs7T0FRaEI7SUFFRCxNQUFNLENBQUMsTUFBTSxvQkFNWjtJQUVELE1BQU0sQ0FBQyxVQUFVLENBQUMsTUFBTSxFQUFFLFFBQVEsQ0FBQyxlQUFlLENBQUMsbUJBRWxEO0lBRUQsTUFBTSxDQUFDLFVBQVUsQ0FBQyxjQUFjLEVBQUUsTUFBTSxHQUFHLFlBQVksR0FBRyxlQUFlL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