@ethersphere/bee-js
Version:
Javascript client for Bee
7 lines (6 loc) • 736 B
TypeScript
import { Bee, BeeRequestOptions, UploadOptions, UploadResult } from '..';
import { BatchId, Reference } from './typed-bytes';
import { UploadProgress } from './upload-progress';
export declare function hashDirectory(_dir: string): Promise<void>;
export declare function streamDirectory(_bee: Bee, _dir: string, _postageBatchId: BatchId | string | Uint8Array, _onUploadProgress?: (progress: UploadProgress) => void, _options?: UploadOptions, _requestOptions?: BeeRequestOptions): Promise<Reference>;
export declare function streamFiles(bee: Bee, files: File[] | FileList, postageBatchId: BatchId, onUploadProgress?: (progress: UploadProgress) => void, options?: UploadOptions, requestOptions?: BeeRequestOptions): Promise<UploadResult>;