import { OnDestroy, AfterViewInit } from '@angular/core';
import { CurrentDeviceService, PendingCallManager, TapValueEditorContainerComponent } from '@iotize/ionic';
import { AbstractVariable } from '@iotize/tap/data';
import * as i0 from "@angular/core";
export declare class TapVariableColorPickerComponent implements AfterViewInit, OnDestroy {
    editable: boolean;
    showHexValue: boolean;
    set variable(variable: AbstractVariable<any> | undefined);
    ctx: TapValueEditorContainerComponent;
    private destroyed;
    pendingCallManager: PendingCallManager;
    pendingSubmitValue: any;
    _variable?: AbstractVariable<any>;
    _color: string | number;
    get pending(): boolean;
    constructor(tapService: CurrentDeviceService);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    onColorChange(color: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapVariableColorPickerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapVariableColorPickerComponent, "tap-variable-color-picker", never, { "editable": "editable"; "showHexValue": "showHexValue"; "variable": "variable"; }, {}, never, never, false>;
}
export declare const CSS_COLOR_REGEX: RegExp;
