/**
 * @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 { CSSFrameworkEnum } from '@asoftwareworld/form-builder-pro/api';
import { ButtonControl } from './button-control';
import * as i0 from "@angular/core";
export declare class AswButton {
    dialog: MatDialog;
    constants: any;
    icons: any;
    /**
     * Button control
     */
    control: ButtonControl | null;
    CSSFramework: CSSFrameworkEnum;
    isPreviewTemplate: boolean;
    propertyPersonalization: string[];
    buttonClickEvent: EventEmitter<string>;
    buttonUpdateEvent: EventEmitter<ButtonControl>;
    buttonDeleteEvent: EventEmitter<ButtonControl>;
    duplicateControl: EventEmitter<ButtonControl>;
    constructor(dialog: MatDialog);
    /**
     * Delete button control based on control index
     * @param control button control items
     * @param controlIndex button control index
     */
    deleteButtonDialog(control: ButtonControl): void;
    editButtonDialog(control: ButtonControl): void;
    buttonClick(type: string): void;
    duplicateButtonControl(control: ButtonControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswButton, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswButton, "asw-button", never, { "control": { "alias": "control"; "required": false; }; "CSSFramework": { "alias": "CSSFramework"; "required": false; }; "isPreviewTemplate": { "alias": "isPreviewTemplate"; "required": false; }; "propertyPersonalization": { "alias": "propertyPersonalization"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonUpdateEvent": "buttonUpdateEvent"; "buttonDeleteEvent": "buttonDeleteEvent"; "duplicateControl": "duplicateControl"; }, never, never, false, never>;
}
