/**
 * @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 { ObjectUtils } from '@asoftwareworld/form-builder/form-control/core';
import { NumberControl } from './number-control';
import * as i0 from "@angular/core";
export declare class AswNumber implements OnInit {
    dialog: MatDialog;
    constants: any;
    objectUtils: typeof ObjectUtils;
    /**
     * Number control
     */
    control: NumberControl | null;
    formControls: any[];
    /**
     * Number control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    numberUpdateEvent: EventEmitter<{
        control: NumberControl;
        index: number;
    }>;
    numberDeleteEvent: EventEmitter<number>;
    aswModelChange: EventEmitter<NumberControl>;
    duplicateControl: EventEmitter<NumberControl>;
    constructor(dialog: MatDialog);
    ngOnInit(): void;
    deleteNumberDialog(control: NumberControl, controlIndex: number): void;
    editNumberDialog(control: NumberControl, controlIndex: number): void;
    onChange(control: NumberControl): void;
    duplicateNumberControl(control: NumberControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswNumber, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswNumber, "asw-number", never, { "control": "control"; "formControls": "formControls"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "numberUpdateEvent": "numberUpdateEvent"; "numberDeleteEvent": "numberDeleteEvent"; "aswModelChange": "aswModelChange"; "duplicateControl": "duplicateControl"; }, never, never>;
}
