/**
 * @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 { AutoCompleteControl } from './autocomplete-control';
import * as i0 from "@angular/core";
export declare class AswAutocomplete implements OnInit {
    dialog: MatDialog;
    private aswApiService;
    constants: any;
    icons: any;
    filteredOptions: ControlOption[] | undefined;
    /**
     * Autocomplete control
     */
    control: any;
    CSSFramework: CSSFrameworkEnum;
    isPreviewTemplate: boolean;
    propertyPersonalization: string[];
    autocompleteUpdateEvent: EventEmitter<AutoCompleteControl>;
    autocompleteDeleteEvent: EventEmitter<AutoCompleteControl>;
    selectionChange: EventEmitter<AutoCompleteControl>;
    duplicateControl: EventEmitter<AutoCompleteControl>;
    constructor(dialog: MatDialog, aswApiService: AswApiService);
    ngOnInit(): void;
    private callApiToFetchData;
    private setControlOptions;
    filter(control: AutoCompleteControl): ControlOption[] | undefined;
    /**
     * Delete autocomplete control based on control index
     * @param control autocomplete control items
     */
    deleteAutocompleteDialog(control: AutoCompleteControl): void;
    editAutocompleteDialog(control: AutoCompleteControl): void;
    duplicateAutocompleteControl(control: AutoCompleteControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswAutocomplete, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswAutocomplete, "asw-autocomplete", never, { "control": { "alias": "control"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; }, { "autocompleteUpdateEvent": "autocompleteUpdateEvent"; "autocompleteDeleteEvent": "autocompleteDeleteEvent"; "selectionChange": "selectionChange"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
