import { Platform } from '@ionic/angular'; import { PhotoLibrary, LibraryItem } from '@awesome-cordova-plugins/photo-library/ngx'; import { File } from '@awesome-cordova-plugins/file/ngx'; import { FileTransfer } from '@awesome-cordova-plugins/file-transfer/ngx'; import * as i0 from "@angular/core"; export declare enum DownloadType { IMAGE = 1, VIDEO = 2, FILE = 3 } export interface DownloadOption { url: string; type?: DownloadType; fileName?: string; album?: string; width?: number; height?: number; quality?: number; } export declare class CTYDownloadService { platform: Platform; photoLibrary: PhotoLibrary; file: File; fileTransfer: FileTransfer; constructor(); Download(opt: DownloadOption): Promise; private DownloadAlbum; private DownloadFile; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }