UNPKG

@c8y/ngx-components

Version:

Angular modules for Cumulocity IoT applications

34 lines (30 loc) 1.59 kB
import * as i2 from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router'; import { InventoryService, InventoryBinaryService, IManagedObject } from '@c8y/client'; import * as i1 from '@c8y/ngx-components'; import { AlertService, ModalService } from '@c8y/ngx-components'; import { TranslateService } from '@ngx-translate/core'; import * as i0 from '@angular/core'; declare class BinaryFileDownloadService { private router; private route; private inventoryService; private alertService; private modalService; private translate; private inventoryBinary; constructor(router: Router, route: ActivatedRoute, inventoryService: InventoryService, alertService: AlertService, modalService: ModalService, translate: TranslateService, inventoryBinary: InventoryBinaryService); run(): void; showDownloadModal(binaryMo: IManagedObject): Promise<void>; private getArrayBuffer; static ɵfac: i0.ɵɵFactoryDeclaration<BinaryFileDownloadService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<BinaryFileDownloadService>; } declare class BinaryFileDownloadModule { constructor(binaryFileDownloadService: BinaryFileDownloadService); static ɵfac: i0.ɵɵFactoryDeclaration<BinaryFileDownloadModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<BinaryFileDownloadModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], never>; static ɵinj: i0.ɵɵInjectorDeclaration<BinaryFileDownloadModule>; } export { BinaryFileDownloadModule, BinaryFileDownloadService }; //# sourceMappingURL=index.d.ts.map