UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

9 lines (8 loc) 599 B
import { DownloadDataInput } from '../../types'; import { StorageDownloadDataOutput, StorageItemWithKey, StorageItemWithPath } from '../../../../types'; import { DownloadDataInput as DownloadDataWithPathInputWithAdvancedOptions } from '../../../../internals/types/inputs'; export declare const downloadData: (input: DownloadDataInput | DownloadDataWithPathInputWithAdvancedOptions) => { cancel: (message?: string | undefined) => void; readonly state: import("../../../../types").TransferTaskState; result: Promise<StorageDownloadDataOutput<StorageItemWithKey | StorageItemWithPath>>; };