UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

13 lines 518 B
import type { BeeClient } from "."; import type { RequestDownloadOptions, RequestUploadOptions } from "./types"; export declare class Bytes { private instance; constructor(instance: BeeClient); url(reference: string): string; download(hash: string, options?: RequestDownloadOptions): Promise<import("./types").Data>; upload(data: Uint8Array, options: RequestUploadOptions): Promise<{ reference: import("./types").Reference; tagUid: any; }>; } //# sourceMappingURL=bytes.d.ts.map