/**
 * @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 { CalculationControl } from './calculation-control';
import * as i0 from "@angular/core";
export declare class AswCalculation {
    dialog: MatDialog;
    constants: any;
    /**
     * Calculation control
     */
    control: CalculationControl | null;
    formControls: any[];
    /**
     * Calculation control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    calculationUpdateEvent: EventEmitter<{
        control: CalculationControl;
        index: number;
    }>;
    calculationDeleteEvent: EventEmitter<number>;
    aswModelChange: EventEmitter<CalculationControl>;
    duplicateControl: EventEmitter<CalculationControl>;
    constructor(dialog: MatDialog);
    deleteCalculationDialog(control: CalculationControl, controlIndex: number): void;
    editCalculationDialog(control: CalculationControl, formControls: any[], controlIndex: number): void;
    onChange(control: CalculationControl): void;
    duplicateCalculationControl(control: CalculationControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswCalculation, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswCalculation, "asw-calculation", never, { "control": "control"; "formControls": "formControls"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "calculationUpdateEvent": "calculationUpdateEvent"; "calculationDeleteEvent": "calculationDeleteEvent"; "aswModelChange": "aswModelChange"; "duplicateControl": "duplicateControl"; }, never, never>;
}
