UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

15 lines (14 loc) 611 B
import { UploadDataInput, UploadDataWithPathInput } from '../../../types'; import { ItemWithKey, ItemWithPath } from '../../../types/outputs'; /** * Create closure hiding the multipart upload implementation details and expose the upload job and control functions( * onPause, onResume, onCancel). * * @internal */ export declare const getMultipartUploadHandlers: (uploadDataInput: UploadDataInput | UploadDataWithPathInput, size?: number) => { multipartUploadJob: () => Promise<ItemWithKey | ItemWithPath>; onPause: () => void; onResume: () => void; onCancel: (message?: string) => void; };