import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; import { CreateColorValue, ReadColorValue, UpdateColorValue } from '@dasch-swiss/dsp-js'; import { Subscription } from 'rxjs'; import { BaseValueComponent } from '../base-value.component'; import { ColorPickerComponent } from './color-picker/color-picker.component'; import { ValueErrorStateMatcher } from '../value-error-state-matcher'; export declare class ColorValueComponent extends BaseValueComponent implements OnInit, OnChanges, OnDestroy { private _fb; colorPickerComponent: ColorPickerComponent; displayValue?: ReadColorValue; showHexCode: boolean; valueFormControl: FormControl; commentFormControl: FormControl; form: FormGroup; valueChangesSubscription: Subscription; customValidators: import("@angular/forms").ValidatorFn[]; matcher: ValueErrorStateMatcher; textColor: string; constructor(_fb: FormBuilder); getInitValue(): string | null; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; getNewValue(): CreateColorValue | false; getUpdatedValue(): UpdateColorValue | false; getTextColor(hex: string): string; }