/**
 * @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 } from 'rxjs';
import { SelectControl } from './select-control';
import * as i0 from "@angular/core";
export declare class AswSelect implements OnInit {
    dialog: MatDialog;
    private aswApiService;
    constants: any;
    icons: any;
    filteredOptions: ReplaySubject<ControlOption[]>;
    filterValue: string;
    /**
     * Select control
     */
    control: any;
    CSSFramework: CSSFrameworkEnum;
    isPreviewTemplate: boolean;
    propertyPersonalization: string[];
    selectUpdateEvent: EventEmitter<SelectControl>;
    selectDeleteEvent: EventEmitter<SelectControl>;
    selectionChange: EventEmitter<SelectControl>;
    duplicateControl: EventEmitter<SelectControl>;
    constructor(dialog: MatDialog, aswApiService: AswApiService);
    ngOnInit(): void;
    filter(control: SelectControl): void;
    private callApiToFetchData;
    private setControlOptions;
    deleteSelectDialog(control: SelectControl): void;
    editSelectDialog(control: SelectControl): void;
    onSelectionChange(control: SelectControl): void;
    duplicateSelectControl(control: SelectControl): void;
    filterMyOptions(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswSelect, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswSelect, "asw-select", never, { "control": { "alias": "control"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; }, { "selectUpdateEvent": "selectUpdateEvent"; "selectDeleteEvent": "selectDeleteEvent"; "selectionChange": "selectionChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
