/**
 * @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 } from '@asoftwareworld/form-builder/form-control/core';
import { AutoCompleteControl } from './autocomplete-control';
import * as i0 from "@angular/core";
export declare class AswAutocomplete implements OnInit {
    dialog: MatDialog;
    constants: any;
    filteredOptions: ControlOption[] | undefined;
    /**
     * Autocomplete control
     */
    control: AutoCompleteControl | null;
    /**
     * Autocomplete control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    autocompleteUpdateEvent: EventEmitter<{
        control: AutoCompleteControl;
        index: number;
    }>;
    autocompleteDeleteEvent: EventEmitter<number>;
    selectionChange: EventEmitter<AutoCompleteControl>;
    duplicateControl: EventEmitter<AutoCompleteControl>;
    constructor(dialog: MatDialog);
    ngOnInit(): void;
    filter(control: AutoCompleteControl): ControlOption[] | undefined;
    /**
     * Delete autocomplete control based on control index
     * @param control autocomplete control items
     * @param controlIndex autocomplete control index
     */
    deleteAutocompleteDialog(control: AutoCompleteControl, controlIndex: number): void;
    editAutocompleteDialog(control: AutoCompleteControl, controlIndex: number): void;
    duplicateAutocompleteControl(control: AutoCompleteControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswAutocomplete, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswAutocomplete, "asw-autocomplete", never, { "control": "control"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "autocompleteUpdateEvent": "autocompleteUpdateEvent"; "autocompleteDeleteEvent": "autocompleteDeleteEvent"; "selectionChange": "selectionChange"; "duplicateControl": "duplicateControl"; }, never, never>;
}
