import { HttpClient, HttpParams } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ID } from '../../core'; import { SCImageGalleryConfig, SCImageGalleryGroupBy } from '../sc-image-gallery.component'; import { SCCoreService } from './../../core/sc-core.service'; import { SCImage, SCImageTag } from './../../sc-image-viewer/sc-image-viewer.component'; import { ImageService } from './image.service'; import * as i0 from "@angular/core"; export declare class SCImageGalleryService { private http; private scCoreService; private imageService; config: SCImageGalleryConfig; constructor(http: HttpClient, scCoreService: SCCoreService, imageService: ImageService); setConfig(pConfig: SCImageGalleryConfig): void; getConfig(): SCImageGalleryConfig; getImages(apiUrl: string, tags: SCImageTag[], limit?: number, page?: number, groupBy?: SCImageGalleryGroupBy): Observable; getTags(apiUrl: string, params: HttpParams): Observable; editImageTags(apiUrl: string, elementId: ID, payload: any): Observable; editImageDescription(apiUrl: string, elementId: ID, payload: string): Observable; downloadImages(apiUrl: string, tags: SCImageTag[], imagesId: ID[], size: number): Observable; uplaodFiles(apiUrl: string, files: FileList): Observable; deleteImage(apiUrl: string, id: ID): Observable; downloadSingleImage(apiUrl: string, id: ID): Observable; toggleImageFavourite(apiUrl: string, model: SCImage): Observable; fetchImageData(imageRef: SCImage): void; mapTagsData(data: any): SCImageTag[]; setMapTagsData(newMapData: (data: any) => SCImageTag[]): void; mapImages(data: any): SCImage[]; setMapImages(newMapData: (data: any) => SCImage[]): void; mapDownloadImages(data: any): any; setMapDownloadImages(newMapData: (data: any) => any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }