import { OnInit } from '@angular/core'; import { SpAttachmentLibraryService } from './sp-attachment-library.service'; import { Attachment } from '../models/attachment'; import * as fa from '@fortawesome/free-solid-svg-icons'; export declare class SpAttachmentLibraryComponent implements OnInit { private spAttachmentLibraryService; private _listName; private _itemId; private _selectedUploadAttachment; attachments: Attachment[]; unUpLoadedItems: number; fa: typeof fa; deleteSwalOptions: { title: string; type: string; confirmButtonText: string; cancelButtonText: string; showCancelButton: string; customClass: { confirmButton: string; cancelButton: string; }; }; deleteAllSwalOptions: { title: string; message: string; type: string; confirmButtonText: string; cancelButtonText: string; showCancelButton: string; customClass: { confirmButton: string; cancelButton: string; }; }; listName: string; itemId: number; constructor(spAttachmentLibraryService: SpAttachmentLibraryService); ngOnInit(): void; loadExistingFiles(): void; onAttachmentAdded(event: any): void; promptReplace(file: any): void; resetFiles(event: any): void; removeAttachment(file: Attachment): void; uploadAttachment(file: Attachment): void; hasNewUnUploadedAndSelcted(): boolean; getUnUploadedCount(): number; hasSelected(): boolean; allSelected(): boolean; getSelectedCount(): number; markOrUnMarkAll(): void; uploadNewAttachments(): void; replaceAttachment(file: Attachment): void; deleteSelected(): void; getBase64(file: any): Promise<{}>; }