import { ElementRef, EventEmitter, OnInit } from '@angular/core'; import { ModalService } from './modal.service'; export declare class ModalComponent implements OnInit { private modalService; private elementRef; /** * Set modal type * Options: info|warning|error|success * Default: warning */ type: string; /** * Show modal icon * Default: true */ hasIcon?: boolean; /** * Set modal's title text */ title: string; /** * Set modal's subtitle text */ subtitle: string; /** * Set text to cancel button */ cancelButtonText: string; /** * Set text to confirm button */ confirmButtonText: string; /** * Hide confirm button */ hiddenConfirmButton?: boolean; /** * Hide cancel button */ hiddenCancelButton?: boolean; iconText: string; /** * Event to cancel button */ cancelClick: EventEmitter; /** * Event to confirm modal */ confirmClick: EventEmitter; onShow: EventEmitter; icon: string; isOpened: boolean; isClosing: boolean; disableConfirmButton: boolean; private element; constructor(modalService: ModalService, elementRef: ElementRef); ngOnInit(): void; private selectIcon; /** * Call cancel event. */ onCancelClick(): void; /** * Call confirm event */ onConfirmClick(): boolean; /** * Handle keyboard events to close modal and tab through the content within the modal. */ handleKeyboardEvent(event: KeyboardEvent): void; }