/**
 * @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 } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { ButtonControl } from './button-control';
import * as i0 from "@angular/core";
export declare class AswButton {
    dialog: MatDialog;
    constants: any;
    /**
     * Button control
     */
    control: ButtonControl | null;
    /**
     * Button control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    buttonUpdateEvent: EventEmitter<{
        control: ButtonControl;
        index: number;
    }>;
    buttonDeleteEvent: EventEmitter<number>;
    constructor(dialog: MatDialog);
    /**
     * Delete button control based on control index
     * @param control button control items
     * @param controlIndex button control index
     */
    deleteButtonDialog(control: ButtonControl, controlIndex: number): void;
    editButtonDialog(control: ButtonControl, controlIndex: number): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswButton, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswButton, "asw-button", never, { "control": "control"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "buttonUpdateEvent": "buttonUpdateEvent"; "buttonDeleteEvent": "buttonDeleteEvent"; }, never, never>;
}
