/**
 * @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 { TextareaControl } from './textarea-control';
import * as i0 from "@angular/core";
export declare class AswTextarea {
    dialog: MatDialog;
    constants: any;
    /**
     * TextArea control
     */
    control: TextareaControl | null;
    /**
     * TextArea control index to help update or delete button from drop area
     */
    controlIndex: number;
    isPreviewTemplate: boolean;
    textAreaUpdateEvent: EventEmitter<{
        control: TextareaControl;
        index: number;
    }>;
    textAreaDeleteEvent: EventEmitter<number>;
    aswModelChange: EventEmitter<TextareaControl>;
    duplicateControl: EventEmitter<TextareaControl>;
    constructor(dialog: MatDialog);
    deleteTextAreaDialog(control: TextareaControl, controlIndex: number): void;
    editTextAreaDialog(control: TextareaControl, controlIndex: number): void;
    onChange(control: TextareaControl): void;
    duplicateTextAreaControl(control: TextareaControl): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswTextarea, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswTextarea, "asw-textarea", never, { "control": "control"; "controlIndex": "controlIndex"; "isPreviewTemplate": "isPreviewTemplate"; }, { "textAreaUpdateEvent": "textAreaUpdateEvent"; "textAreaDeleteEvent": "textAreaDeleteEvent"; "aswModelChange": "aswModelChange"; "duplicateControl": "duplicateControl"; }, never, never>;
}
