@aws-amplify/storage
Version:
Storage category of aws-amplify
10 lines (9 loc) • 660 B
TypeScript
import { AmplifyContext } from '@aws-amplify/core';
import { DownloadDataInput } from '../../types';
import { StorageDownloadDataOutput, StorageItemWithKey, StorageItemWithPath } from '../../../../types';
import { DownloadDataInput as DownloadDataWithPathInputWithAdvancedOptions } from '../../../../internals/types/inputs';
export declare const downloadData: (ctx: AmplifyContext, input: DownloadDataInput | DownloadDataWithPathInputWithAdvancedOptions) => {
readonly state: import("../../../../types").TransferTaskState;
cancel: (message?: string) => void;
result: Promise<StorageDownloadDataOutput<StorageItemWithKey | StorageItemWithPath>>;
};