import { Blob, type BlobJson } from '@aztec/blob-lib'; import { BufferReader } from '@aztec/foundation/serialize'; /** Serialized an array of blobs with their indexes to be stored at a given block id */ export declare class BlobsWithIndexes { blobs: BlobWithIndex[]; constructor(blobs: BlobWithIndex[]); toBuffer(): Buffer; static fromBuffer(buffer: Buffer | BufferReader): BlobsWithIndexes; getBlobsFromIndices(indices: number[]): BlobWithIndex[]; } /** We store blobs alongside their index in the block */ export declare class BlobWithIndex { /** The blob */ blob: Blob; /** The index of the blob in the block */ index: number; constructor( /** The blob */ blob: Blob, /** The index of the blob in the block */ index: number); toBuffer(): Buffer; static fromBuffer(buffer: Buffer | BufferReader): BlobWithIndex; toJSON(): BlobJson; } //# sourceMappingURL=blob_with_index.d.ts.map