import { OnInit, ElementRef } from '@angular/core'; import { ColorFormats } from '../../enums/formats'; import { ConverterService } from '../../services/converter.service'; import { Hsva } from '../../models/formats'; import { NkColorsTriggerDirective } from '../../directives/nkColorsTrigger.directive'; import { AfterViewInit } from '@angular/core'; import * as i0 from "@angular/core"; export declare class PanelComponent implements OnInit, AfterViewInit { private elementRef; service: ConverterService; click(event: any): void; onScroll(): void; onResize(): void; top: number; left: number; isHidden: boolean; constructor(elementRef: ElementRef, service: ConverterService); color: string; previewColor: string; hsva: Hsva; colorsAnimationEffect: string; palette: { color: string; preview: string; variants: string[]; }[]; variants: any[]; colorFormats: string[]; format: ColorFormats; canChangeFormat: boolean; menu: number; onlyCustomPicker: boolean; hideColorPicker: boolean; hideTextInput: boolean; acceptLabel: string; private triggerInstance; private triggerElementRef; ngOnInit(): void; ngAfterViewInit(): void; iniciate(triggerInstance: NkColorsTriggerDirective, triggerElementRef: any, color: any, palette: any, animation: any, format: string, hideTextInput: boolean, hideColorPicker: boolean, acceptLabel: string, onlyCustomPicker: boolean): void; setPosition(): void; hasVariant(color: any): boolean; isSelected(color: any): boolean; getBackgroundColor(color: any): { background: any; }; /** * Change color from default colors * @param string color */ changeColor(color: string): void; onChangeColorPicker(event: Hsva): void; changeColorManual(color: string): void; setColor(value: Hsva): void; setPreviewColor(value: Hsva): void; onChange(): void; showColors(): void; onColorClick(color: any): void; addColor(): void; nextFormat(): void; emitClose(): void; isOutside(event: any): any; private switchMenu; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }