import { EventEmitter, OnInit } from '@angular/core'; import { AppConfigService } from '../../../configuration/app-config.service'; import { UploadManagmentService } from '../../../shared-services/upload-managment.service'; import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service'; import * as i0 from "@angular/core"; export declare class AttachmentsComponent implements OnInit { uploadMangmentService: UploadManagmentService; private environment; private customToastrService; AppConfigService: AppConfigService; /** Allowed Upload Types */ allowedTypes: string; /** Params to be sent with properties when creating a document */ params: {}; /** Path in witch a document will be created */ path: any; /** Max allowed upload size */ maxSize: number; /** Params to be sent with body when creating a document */ docParams: {}; /** Can upload multiple files at once */ multiple: boolean; /** should create document after batch upload */ createDocument: boolean; /** Max allowed number of files size */ allowedMaxNumberOfFiles: number; source: string; /** Event emitted on document upload success, it will have document or batch object based on configuration */ uploadSuccess: EventEmitter; /** Event emitted when an error occurs while attempting upload */ uploadError: EventEmitter; onSelectingItem: EventEmitter; uploading: boolean; itemRemoved: EventEmitter; fileInput: any; activeFile: { name: string; }; constructor(uploadMangmentService: UploadManagmentService, environment: any, customToastrService: CustomToastrService, AppConfigService: AppConfigService); ngOnInit(): void; triggerUpload(): void; isSizeChecked(file: any): boolean; isTypeChecked(file: any): boolean; isMaxNumberOfFiles(selectedFiles: any): boolean; uploadingFiles(files: any): void; removeItem(item: any, listOfFiles: any): void; selectItem(file: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }