import { BaseApiTemplateService } from "../shared/base-api-template-service.model";
import { HttpClient } from "@angular/common/http";
import { ApiResponseModel, Pagination, PagingResponseModel } from "../shared";
import { ApiVisa } from "../shared";
import { FilesDetailsRequest } from '../../../../../models/file-image';
import { Optional } from 'typescript-optional';
import { Observable } from 'rxjs';
export declare class WarehouseGrnAttachmentService extends BaseApiTemplateService<any> {
    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>>;
    getAttachmentByCriteria(pagination: Pagination, visa: ApiVisa, criteria?: any): Observable<PagingResponseModel<any>>;
    deleteAttachment(attachmentGuid: string, visa: ApiVisa): Observable<ApiResponseModel<any>>;
    getAttachmentFile(attachmentGuid: string, apiVisa: ApiVisa): Observable<Blob>;
    getAllAttachments(visa: ApiVisa): Observable<ApiResponseModel<any>>;
}
