import * as _angular_core from '@angular/core';
import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
import { ControlValueAccessor, Validators, NgControl } from '@angular/forms';
import { MultiSelect } from 'primeng/multiselect';
import { isInvalid } from '@masterteam/components';

declare class MultiSelectField implements ControlValueAccessor, OnInit, OnChanges {
    multiSelect: MultiSelect;
    readonly field: _angular_core.InputSignal<boolean>;
    readonly label: _angular_core.InputSignal<string | undefined>;
    readonly placeholder: _angular_core.InputSignal<string | undefined>;
    readonly class: _angular_core.InputSignal<string>;
    readonly readonly: _angular_core.InputSignal<boolean>;
    readonly pInputs: _angular_core.InputSignal<Partial<MultiSelect> | undefined>;
    readonly options: _angular_core.InputSignal<any[] | undefined>;
    readonly optionValue: _angular_core.InputSignal<string | undefined>;
    readonly optionLabel: _angular_core.InputSignal<string | undefined>;
    readonly filter: _angular_core.InputSignal<boolean>;
    readonly filterBy: _angular_core.InputSignal<string | undefined>;
    readonly dataKey: _angular_core.InputSignal<string | undefined>;
    readonly showClear: _angular_core.InputSignal<boolean>;
    readonly display: _angular_core.InputSignal<string>;
    readonly required: _angular_core.InputSignal<boolean>;
    onChange: EventEmitter<any>;
    styleClass: string;
    requiredValidator: typeof Validators.required;
    value: _angular_core.WritableSignal<any>;
    disabled: _angular_core.WritableSignal<boolean>;
    onTouched: () => void;
    onModelChange: (value: any) => void;
    ngControl: NgControl;
    isInvalid: typeof isInvalid;
    constructor();
    applyInputsToMultiSelect(): void;
    ngOnInit(): void;
    onValueChange(value: any): void;
    ngOnChanges(changes: SimpleChanges): void;
    writeValue(value: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState(disabled: boolean): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectField, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectField, "mt-multi-select-field", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pInputs": { "alias": "pInputs"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "onChange": "onChange"; }, never, never, true, never>;
}

export { MultiSelectField };
