/**
 * @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 { TextFieldControl } from './textfield-control';
import * as i0 from "@angular/core";
export declare class AswTextField {
    dialog: MatDialog;
    constants: any;
    /**
     * TextField control
     */
    control: TextFieldControl | null;
    /**
     * TextField control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    textFieldUpdateEvent: EventEmitter<{
        control: TextFieldControl;
        index: number;
    }>;
    textFieldDeleteEvent: EventEmitter<number>;
    aswModelChange: EventEmitter<TextFieldControl>;
    duplicateControl: EventEmitter<TextFieldControl>;
    constructor(dialog: MatDialog);
    deleteTextFieldDialog(control: TextFieldControl, controlIndex: number): void;
    editTextFieldDialog(control: TextFieldControl, controlIndex: number): void;
    onChange(control: TextFieldControl): void;
    duplicateTextFieldControl(control: TextFieldControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswTextField, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswTextField, "asw-textfield", never, { "control": "control"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "textFieldUpdateEvent": "textFieldUpdateEvent"; "textFieldDeleteEvent": "textFieldDeleteEvent"; "aswModelChange": "aswModelChange"; "duplicateControl": "duplicateControl"; }, never, never>;
}
