import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { ColorPickerConfig, ColorPickerI18n } from '../../models';
import { CdsThemeService } from '../../services';
import * as i0 from "@angular/core";
export declare class ColorPickerComponent implements AfterViewInit, OnChanges, OnDestroy, ControlValueAccessor {
    private readonly cdsThemeService;
    pickrContainerRef: ElementRef<HTMLDivElement>;
    pickrAnchorRef: ElementRef<HTMLDivElement>;
    labelTranslationKey: string;
    config: ColorPickerConfig;
    i18n: ColorPickerI18n | null;
    colorChangeEvent: EventEmitter<string>;
    clearEvent: EventEmitter<void>;
    readonly $disabled: import("@angular/core").WritableSignal<boolean>;
    protected readonly testIds: {
        readonly label: "colorPickerLabel";
        readonly container: "colorPickerContainer";
        readonly trigger: "colorPickerTrigger";
    };
    private _pickr;
    private _value;
    private _initialized;
    private readonly _subscription;
    private _onChangeFn;
    private _onTouchedFn;
    constructor(cdsThemeService: CdsThemeService);
    ngAfterViewInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    writeValue(value: string | null): void;
    registerOnChange(fn: (value: string | null) => void): void;
    registerOnTouched(fn: () => void): void;
    setDisabledState(disabled: boolean): void;
    private _initPickr;
    private _reinitPickr;
    private _destroyPickr;
    private _applyThemeToPickr;
    static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "valtimo-color-picker", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "config": { "alias": "config"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; }, { "colorChangeEvent": "colorChangeEvent"; "clearEvent": "clearEvent"; }, never, never, true, never>;
}
//# sourceMappingURL=color-picker.component.d.ts.map