UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

15 lines 565 B
import type { BeeClient, RequestUploadOptions } from "../clients"; type ChunksUploadOptions = RequestUploadOptions & { currentLevel?: number; currentChunk?: number; deferred?: boolean; onBytesUploaded?(bytes: number): void; }; export declare class ChunksUploader { beeClient: BeeClient; concurrentChunks: number; constructor(beeClient: BeeClient, concurrentChunks?: number); uploadData(data: Uint8Array, options: ChunksUploadOptions): Promise<import("../clients").Reference>; } export {}; //# sourceMappingURL=ChunksUploader.d.ts.map