import { AfterViewInit, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import { createBackgroundColor, ImageEditorComponent, ImageEditorService } from '@kadung/image-editor'; import { Color } from '@kadung/image-editor/_models/color'; import { EditingBox } from '@kadung/image-editor/_models/editing-box'; import { BehaviorSubject } from 'rxjs'; import { SubSink } from 'subsink'; import { ProductTypePart } from '../_models/product-type-part'; import { ProductImageEditorService } from '../_services'; import * as i0 from "@angular/core"; export declare class ProductImageEditorComponent implements OnInit, AfterViewInit, OnDestroy { private productImageEditorService; private imageEditorService; editor: ImageEditorComponent; btnClass: string; product: any; productType: any; actionMode: 'EDIT' | 'ADD'; chosenColors: Color[]; formTemplate: TemplateRef; showCustomUploadButton: boolean; generatedProductResultHandler: EventEmitter<{}>; generatedProductImageDataHandler: EventEmitter; activeColor$: BehaviorSubject; subs: SubSink; currentImagePrintSize$: BehaviorSubject; chosenGalleryImage$: any; selectedProductTypePart$: BehaviorSubject; createColor: typeof createBackgroundColor; setImageEditorObjectMeta: (object: any) => { fileAssetId: any; }; initialPart: ProductTypePart; editingBox: EditingBox; colors$: BehaviorSubject; colorPrices: { color: any; price: any; _meta: { backgroundColor: string; }; }[]; printTypes: { id: number; name: string; guideUrl: string | null; }[]; objects$: BehaviorSubject; backgroundColor$: BehaviorSubject; constructor(productImageEditorService: ProductImageEditorService, imageEditorService: ImageEditorService); ngOnInit(): void; ngAfterViewInit(): void; determineInitialPrintService(): void; selectProductTypePart(productTypePart: ProductTypePart): void; setColors(productTypePart: ProductTypePart): void; onObjectsLoaded(event: any): void; onCanvasChanged(): void; onVisibleBoxPaintOccupationChange(event: any): void; save(providedColors?: Color[]): void; generatePrintServiceIdList(priceInfo: any): any; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }