import { Color, ColorString } from './color.class'; import { BehaviorSubject } from 'rxjs'; import { Rgba } from './rgba.class'; import { Hsla } from './hsla.class'; import { Hsva } from './hsva.class'; export declare enum ColorType { hex = "hex", hexa = "hexa", rgba = "rgba", rgb = "rgb", hsla = "hsla", hsl = "hsl", cmyk = "cmyk" } export declare class ColorPickerControl { private modelValue; private hueValue; private initValue; private readonly valueChanged; readonly presetsVisibilityChanges: BehaviorSubject; initType: ColorType; readonly alphaChannelVisibilityChanges: BehaviorSubject; readonly valueChanges: import("rxjs").Observable; private colorPresets; constructor(); setValueFrom(color: ColorString | Color | Rgba | Hsla | Hsva): this; private setHueColor; /** * @internal * used for two-way data binding */ hue: Color; private setValue; /** * @internal * used for two-way data binding */ value: Color; /** * reset color to initial */ reset(): this; isAlphaChannelEnabled(): boolean; showAlphaChannel(): this; hideAlphaChannel(): this; private finOutInputType; setColorPresets(colorPresets: Array | ColorString>): this; private setPresets; readonly presets: (Color | Color[])[]; hasPresets(): boolean; isPresetVisible(): boolean; showPresets(): this; hidePresets(): this; /** * complete emit on all observers */ unsubscribe(): void; }