/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
import { EventEmitter, OnInit } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { ControlOption, CSSFrameworkEnum } from '@asoftwareworld/form-builder-pro/api';
import { AswApiService } from '@asoftwareworld/form-builder-pro/common';
import { ReplaySubject, Subject } from 'rxjs';
import { MultiSelectControl } from './multi-select-control';
import * as i0 from "@angular/core";
export declare class AswMultiSelect implements OnInit {
    dialog: MatDialog;
    private aswApiService;
    constants: any;
    icons: any;
    filterValue: string;
    filteredOptions: ReplaySubject<ControlOption[]>;
    /**
     * MultiSelect control
     */
    control: any;
    propertyPersonalization: string[];
    isPreviewTemplate: boolean;
    CSSFramework: CSSFrameworkEnum;
    multiSelectUpdateEvent: EventEmitter<MultiSelectControl>;
    multiSelectDeleteEvent: EventEmitter<MultiSelectControl>;
    selectionChange: EventEmitter<MultiSelectControl>;
    duplicateControl: EventEmitter<MultiSelectControl>;
    protected _onDestroy: Subject<void>;
    /** local copy of filtered options to help set the toggle all checkbox state */
    protected filteredOptionsCache: ControlOption[];
    /** flags to set the toggle all checkbox state */
    isIndeterminate: boolean;
    isChecked: boolean;
    constructor(dialog: MatDialog, aswApiService: AswApiService);
    ngOnInit(): void;
    private callApiToFetchData;
    private setControlOptions;
    deleteMultiSelectDialog(control: MultiSelectControl): void;
    editMultiSelectDialog(control: MultiSelectControl): void;
    onSelectionChange(control: MultiSelectControl): void;
    duplicateMultiSelectControl(control: MultiSelectControl): void;
    toggleSelectAll(selectAllValue: boolean, control: MultiSelectControl): void;
    filter(control: MultiSelectControl): void;
    protected setToggleAllCheckboxState(control: MultiSelectControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswMultiSelect, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswMultiSelect, "asw-multi-select", never, { "control": { "alias": "control"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; }, { "multiSelectUpdateEvent": "multiSelectUpdateEvent"; "multiSelectDeleteEvent": "multiSelectDeleteEvent"; "selectionChange": "selectionChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
