/// import { B2Client } from "./client"; import { Readable } from "stream"; export interface AssetEntry { name: string; size: number; mtime: string; is_dir: boolean; } export interface UploadFile { filename: string; content: Buffer | Readable; } export declare class B2Asset { private path; private c; constructor(client: B2Client, path?: string); list(path?: string): Promise; upload(path: string, files: UploadFile[]): Promise; delete(path: string): Promise; }