UNPKG

js-isp

Version:

9 lines (8 loc) 325 B
import { HttpAgent } from "@dfinity/agent"; export declare class Bucket { private readonly bucketCanisterId; private readonly BucketActor; constructor(canisterId: string, agent: HttpAgent); getFile(decodeArr: any, length: number): Promise<Uint8Array>; get_file(fileKey: string): Promise<Blob | string>; }