import NativeS3Uploader, { UploadState } from './NativeS3Uploader'; import type { FileCompletionInfo, UploadProgress, UploadStateChange, PartCompletionInfo } from './NativeS3Uploader'; export type { FileCompletionInfo, UploadProgress, UploadStateChange, PartCompletionInfo, }; export { UploadState, NativeS3Uploader as S3Uploader }; type Upload = { uploadId: string; progress: number; state: UploadState; clear: () => void; cancel: () => Promise; pause: () => Promise; restart: () => Promise; resume: () => Promise; }; export declare function useUploads(onCompletion: (id: string, uploadCompletionInfo: FileCompletionInfo[]) => Promise): { uploads: Upload[]; upload: (uploadId: string, fileDirs: string[]) => Promise; }; //# sourceMappingURL=index.d.ts.map