import * as i0 from '@angular/core'; /** The different types of message boxes. */ declare enum TbxMessageBoxType { /** Do not display the message box. */ none = 0, /** Display a success message box. */ success = 1, /** Display an error message box. */ error = 2, /** Display an informational message box. */ info = 3, /** Display a warning message box. */ warning = 4 } /** * A service to display message boxes on the application using `sweetalert`. */ declare class TbxMessageBoxService { /** * Displays a success message box. * @param message The message to display in the message box. * @param title The title of the message box. * @returns The promise containing the message box. */ success(message: string, title?: string): Promise; /** * Displays an error message box. * @param message The message to display in the message box. * @param title The title of the message box. * @returns The promise containing the message box. */ error(message: string, title?: string): Promise; /** * Displays an information message box. * @param message The message to display in the message box. * @param title The title of the message box. * @returns The promise containing the message box. */ info(message: string, title?: string): Promise; /** * Displays a warning message box. * @param message The message to display in the message box. * @param title The title of the message box. * @returns The promise containing the message box. */ warning(message: string, title?: string): Promise; /** * Displays a confirmation message box. * @param message The message to display in the message box. * @param explanation The explanation to show under the title. * @returns The promise containing the message box. */ confirm(message: string, explanation?: string): Promise; /** * Displays a simple message box with no icons. * @param message - The message to display in the message box. * @param title - The title of the message box. * @returns The promise containing the message box. */ message(message: string, title?: string): Promise; /** * Displays a message box. * @param type - The message box type. * @param message - The message to display in the message box. * @param title - The title of the message box. * @returns The promise containing the message box. */ show(type: TbxMessageBoxType, message: string, title?: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { TbxMessageBoxService, TbxMessageBoxType };