@translated/lara
Version:
Official Lara SDK for JavaScript and Node.js
11 lines (10 loc) • 465 B
TypeScript
import type { MultiPartFile } from "../lara/client";
import { S3Client, type S3UploadFields } from "./client";
import type { LaraStream } from "./laraStream.browser";
/** @internal */
export declare class BrowserS3Client extends S3Client {
_upload(url: string, fields: S3UploadFields, file: File): Promise<void>;
download(url: string): Promise<Blob>;
downloadStream(url: string): Promise<LaraStream>;
wrapMultiPartFile(file: MultiPartFile): File;
}