synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
7 lines • 507 B
TypeScript
import { ProgressCallback } from '@/synapse-client/index';
/**
* Directly (from the client runtime, e.g. browser) uploads a file to an
* S3-compatible storage service.
*/
export declare function uploadToS3(blob: Blob, fileKey: string, endpoint: string, accessKey: string, secretKey: string, bucketName: string, contentType: string, abortController: AbortController | undefined, progressCallback: ((progress: ProgressCallback) => void) | undefined): Promise<void>;
//# sourceMappingURL=UploadToS3.d.ts.map