import { HttpClient } from '@angular/common/http';
import { ApiResponseModel, ApiVisa, BaseApiTemplateService, Pagination, PagingResponseModel } from '../../shared';
import { Observable } from 'rxjs';
import { FilesDetailsRequest } from '../../../../../../models/file-image';
import { Optional } from 'typescript-optional';
export declare class EntityAttachmentService extends BaseApiTemplateService<any> {
    readonly url: string;
    constructor(http: HttpClient);
    addAttachment(hdrGuid: string, files: File[], visa: ApiVisa, filesDetails?: FilesDetailsRequest): Observable<ApiResponseModel<any>>;
    updateAttachment(attachmentGuid: string, file: File, visa: ApiVisa, filesDetails: Optional<FilesDetailsRequest>): Observable<ApiResponseModel<any>>;
    deleteAttachment(attachmentGuid: string, visa: ApiVisa): Observable<ApiResponseModel<any>>;
    getAttachmentFile(attachmentGuid: string, apiVisa: ApiVisa): Observable<Blob>;
    getAllAttachments(visa: ApiVisa): Observable<ApiResponseModel<any>>;
    getAttachmentByCriteria(pagination: Pagination, visa: ApiVisa, criteria?: any): Observable<PagingResponseModel<any>>;
}
