import { HttpClient } from '@angular/common/http'; import { Observable } from "rxjs"; import { EventService } from './event.service'; import { AuthCredentialsService } from './auth-credentials.service'; import { ImgPictureDTO, ImgSelectionService, CanvaService } from '@wizishop/img-manager'; import { WiziBlockMediaDto } from '@wizishop/img-manager/lib/dto/wizi-block-media.dto'; import * as i0 from "@angular/core"; export declare class FicheProductService { private http; private imgSelectionService; private eventService; private canvaService; private authCredentialsService; productSheetApiRoute: string; image_manager_api: string; shopToken: string; shopId: number; productId: string; isPhotosTab: boolean; isPreviousTabPhotos: boolean; isVariantsTab: boolean; loadProductImgSelection: boolean; currentProductImgSelection: ImgPictureDTO[]; isProductCreation: boolean; expectedMediaDto: WiziBlockMediaDto; private subscriptions; constructor(http: HttpClient, imgSelectionService: ImgSelectionService, eventService: EventService, canvaService: CanvaService, authCredentialsService: AuthCredentialsService); setApiConfig(): void; /** * There is only one instance of this img manager. * But it is called with different config, by Photos tab and Variation tab, on fiche product page. * The method handle the switch config between Photos and Variation tab. * Return an observable : true => Photos tab / false => Variation tab. * */ handleTabs(): Observable; getShopImg(idFile: string): Observable; initProductImgSelection(): void; retrieveInfoSelection(): Observable; retrieveImgSelection(): Observable; updateImgSelectionOnChange(): void; updateProductImgSelection(idsImgList: number[]): void; submitProductImg(idsImgList: number[]): Observable; createProduct(): Observable; switchTabs(): Observable; private emitImgSelectionChange; private saveCurrentImgSelection; private applyCurrentImgSelection; private getOptionsHeaders; private getOptionsHeadersWithBearer; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }