@etherna/sdk-js
Version:
Etherna SDKs for operations on the network
12 lines • 471 B
TypeScript
import type { BeeClient } from ".";
import type { RequestOptions } from "..";
import type { RequestUploadOptions } from "./types";
export declare class Chunk {
private instance;
constructor(instance: BeeClient);
download(hash: string, options?: RequestOptions): Promise<import("./types").Data>;
upload(data: Uint8Array, options: RequestUploadOptions): Promise<{
reference: import("./types").Reference;
}>;
}
//# sourceMappingURL=chunk.d.ts.map