UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

24 lines 867 B
import type { BeeClient } from "."; import type { FileDownloadOptions, FileUploadOptions } from ".."; export declare class Bzz { private instance; constructor(instance: BeeClient); url(reference: string, path?: string): string; download(hash: string, options?: FileDownloadOptions): Promise<{ data: import("./types").Data; name: string | null; tagUid: number | undefined; contentType: any; }>; downloadPath(hash: string, path?: string, options?: FileDownloadOptions): Promise<{ data: import("./types").Data; name: string | null; tagUid: number | undefined; contentType: any; }>; upload(data: Uint8Array | File | string, options: FileUploadOptions): Promise<{ reference: import("./types").Reference; tagUid: any; }>; } //# sourceMappingURL=bzz.d.ts.map