import { Subject } from 'rxjs'; export declare class Modal { title: string; text: string; type: string; hasIcon: boolean; open: boolean; constructor(title: any, text: any, open?: any, type?: any, hasIcon?: any); } export declare class ModalService { modal: Modal; private modalEventEmitter; constructor(); /** * Open a success modal. * @param title of message * @param text of message * @param hasIcon Optional, default is true */ success(title: string, text: string, hasIcon?: boolean): Modal; /** * Open an error modal. * @param title of message * @param text of message * @param hasIcon Optional, default is true */ error(title: string, text: string, hasIcon?: boolean): Modal; /** * Open a warning modal. * @param title of message * @param text of message * @param hasIcon Optional, default is true */ warning(title: string, text: string, hasIcon?: boolean): Modal; /** * Open an info modal. * @param title of message * @param text of message * @param hasIcon Optional, default is true */ info(title: string, text: string, hasIcon?: boolean): Modal; closeModal(): void; getModalEmitter(): Subject; /** * Open a modal. * @param title of message * @param text of message * @param type Available options: 'success', 'error', 'warning', 'info' * @param hasIcon Optional, default is true */ private open; }