@translated/lara
Version:
Official Lara SDK for JavaScript and Node.js
12 lines (11 loc) • 531 B
TypeScript
import { Readable } from "node:stream";
import type { MultiPartFile } from "../lara/client";
import { S3Client, type S3UploadFields } from "./client";
import type { LaraStream } from "./laraStream";
/** @internal */
export declare class NodeS3Client extends S3Client {
protected _upload(url: string, fields: S3UploadFields, file: Readable, length?: number): Promise<void>;
download(url: string): Promise<Buffer>;
downloadStream(url: string): Promise<LaraStream>;
wrapMultiPartFile(file: MultiPartFile): Readable;
}