import * as _angular_core from '@angular/core';
import { ControlValueAccessor, NgControl, Validators } from '@angular/forms';
import { ColorPicker, ColorPickerChangeEvent } from 'primeng/colorpicker';
import { isInvalid } from '@masterteam/components';

declare class ColorPickerField implements ControlValueAccessor {
    colorPicker: ColorPicker;
    label: _angular_core.InputSignal<string | undefined>;
    appendTo: _angular_core.InputSignal<string>;
    placeholder: _angular_core.InputSignal<string | undefined>;
    class: _angular_core.InputSignal<string>;
    variant: _angular_core.InputSignal<"outlined" | "filled">;
    readonly: _angular_core.InputSignal<boolean>;
    pInputs: _angular_core.InputSignal<Partial<ColorPicker> | undefined>;
    required: _angular_core.InputSignal<boolean>;
    onChange: _angular_core.OutputEmitterRef<ColorPickerChangeEvent>;
    ngControl: NgControl;
    requiredValidator: typeof Validators.required;
    value: _angular_core.WritableSignal<string | null>;
    disabled: _angular_core.WritableSignal<boolean>;
    onTouched: () => void;
    onModelChange: (value: string | null) => void;
    isInvalid: typeof isInvalid;
    constructor();
    applyInputsToColorPicker(): void;
    onValueChange(value: string | null): void;
    writeValue(value: string | null): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState(disabled: boolean): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPickerField, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerField, "mt-color-picker-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pInputs": { "alias": "pInputs"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "onChange": "onChange"; }, never, never, true, never>;
}

export { ColorPickerField };
