import { HttpClient } from '@angular/common/http';
import { CmsPostContainerModel, CmsPostImageContainerModel } from '../../../../../../models/aggregates/erp/cms-post';
import { CmsPostQueryCriteriaClass } from '../../../criteria';
import { Observable } from 'rxjs';
import { Optional } from 'typescript-optional';
import { ApiResponseModel, ApiVisa, BasicApiResponseModel } from '../../shared';
import { BaseApiPublicLoginTemplateService } from '../../shared/base-api-public-login-template.service';
export declare class CmsPostImageService extends BaseApiPublicLoginTemplateService<CmsPostImageContainerModel, CmsPostImageContainerModel, CmsPostImageContainerModel> {
    constructor(http: HttpClient);
    getCmsPostImageByCriteria(visa: ApiVisa, criteria?: CmsPostQueryCriteriaClass): Observable<ApiResponseModel<CmsPostContainerModel>>;
    uploadImageFromMediaLibrary(container: any, visa: ApiVisa): Observable<Object>;
    uploadImageToMediaLibrary(container: any, visa: ApiVisa): Observable<Object>;
    updateImage(formData: FormData, imageGuid: any, visa: ApiVisa): Observable<Object>;
    uploadImage(formData: FormData, visa: ApiVisa, postfiletype: any): Observable<Object>;
    getImageDetailsByGuid(imageGuid: any, visa: ApiVisa): Observable<Object>;
    getFileByGuid(imageGuid: string, visa: ApiVisa): Observable<Blob>;
    static filesToFormData(files: File[], formDataKeyValue: Optional<string>): FormData;
    private static fileToFormData;
    replaceFile(file: File, fileImageGuid: string, visa: ApiVisa): Observable<BasicApiResponseModel<CmsPostContainerModel>>;
}
