import { FileReader } from "../file.mjs"; import { QuiltReader } from "./quilt.mjs"; import { WalrusClient } from "../../client.mjs"; import * as _mysten_bcs21 from "@mysten/bcs"; //#region src/files/readers/blob.d.ts interface BlobReaderOptions { client: WalrusClient; blobId: string; numShards: number; } declare class BlobReader implements FileReader { #private; blobId: string; hasStartedLoadingFullBlob: boolean; constructor({ client, blobId, numShards }: BlobReaderOptions); getIdentifier(): Promise; getTags(): Promise<{}>; getQuiltReader(): QuiltReader; getBytes(): Promise>; getMetadata(): { blobId: string; metadata: { V1: { encoding_type: _mysten_bcs21.EnumOutputShapeWithKeys<{ RedStuff: true; RS2: true; }, "RedStuff" | "RS2">; unencoded_length: string; hashes: { primary_hash: _mysten_bcs21.EnumOutputShapeWithKeys<{ Empty: true; Digest: Uint8Array; }, "Empty" | "Digest">; secondary_hash: _mysten_bcs21.EnumOutputShapeWithKeys<{ Empty: true; Digest: Uint8Array; }, "Empty" | "Digest">; }[]; }; $kind: "V1"; }; } | Promise<{ blobId: string; metadata: { V1: { encoding_type: _mysten_bcs21.EnumOutputShapeWithKeys<{ RedStuff: true; RS2: true; }, "RedStuff" | "RS2">; unencoded_length: string; hashes: { primary_hash: _mysten_bcs21.EnumOutputShapeWithKeys<{ Empty: true; Digest: Uint8Array; }, "Empty" | "Digest">; secondary_hash: _mysten_bcs21.EnumOutputShapeWithKeys<{ Empty: true; Digest: Uint8Array; }, "Empty" | "Digest">; }[]; }; $kind: "V1"; }; }>; getColumnSize(): Promise; getSymbolSize(): Promise; getRowSize(): Promise; getSecondarySliver({ sliverIndex, signal }: { sliverIndex: number; signal?: AbortSignal; }): Promise>; } //#endregion export { BlobReader }; //# sourceMappingURL=blob.d.mts.map