import { Observable } from 'rxjs'; import { BehaviorSubject } from 'rxjs-compat'; import { HttpClient } from '@angular/common/http'; import { ActionUrl, Attachment, AttachmentAction, AttachmentConfiguration, Parameter, ParameterType } from '../../models/attachment'; export declare class AttachmentDataService { private readonly http; openAttachmentModal$: BehaviorSubject; constructor(http: HttpClient); getImage(fileName: string): string; formatBytes(bytes: number, decimals: number): string; getActionDetailForAction(actionsData: Array, actionType: AttachmentAction): ActionUrl; getIcon(type: string): "file-image-solid" | "file-word-solid" | "file-excel-solid" | "file-archive-solid" | "file-audio-solid" | "file-code-solid" | "file-pdf-solid" | "file-powerpoint-solid" | "file-video-solid" | "file-alt-solid"; getIconForFileType(attachment: Attachment): string; getFileBlobType(attachment: Attachment): string; buildParameter(rmType: ParameterType, parameters: Array, data: unknown): string; performAttachmentAction(actionsData: Array, actionType: AttachmentAction, attachmentData: unknown): Observable; loadFileFromUrl(actionsData: Array, actionType: AttachmentAction, attachmentData: unknown): Observable; open(configuration?: AttachmentConfiguration): void; checkValidFiles(files: FileList, allowedFile: string): boolean; downloadFile(file: Blob, fileName: string, type: string): boolean; }