import { OnDestroy } from '@angular/core'; import { IAttachmentData } from 'gl-w-attachment-frontend'; import { Subject } from 'rxjs'; import { GlComponentModalAlertService } from '../alert/gl-component-modal-alert.service'; import { TModalUploadFunction } from './gl-component-modal-upload-file.interface'; import * as i0 from "@angular/core"; export declare class GlComponentModalUploadFileService implements OnDestroy { alert: GlComponentModalAlertService; get modalClass(): string; get showModal(): boolean; get attachmentItems(): IAttachmentData[]; attachmentItems$: Subject; currentValue$: Subject; uploadAction: TModalUploadFunction; uploadActionCaller: any; resolvePromise: (value: any) => void; private _modalClass; private _showModal; private _attachmentItems; private _uploadButton; private _cancelButton; constructor(alert: GlComponentModalAlertService); ngOnDestroy(): Promise; show(action: TModalUploadFunction, caller: any, resetData?: boolean, clearObservers?: boolean, subscribe?: boolean): Promise; hide(resetData?: boolean, clearObservers?: boolean): void; showError(message: string): Promise; private modal; private setElements; private subscription; private clearObservers; private clearItems; private clear; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }