import { Service } from './metadata'; import { MessageBox, Qualifier } from '@scion/workbench-application-platform.api'; /** * Displays message boxes to the user. */ export declare class MessageBoxService implements Service { /** * Displays the specified message to the user. * * By default, and if no qualifier is specified, a built-in messagebox pops up. * To display a custom message box, provide the qualifier as expected by the * respective {IntentHandler} registered in the host application. * * @returns a promise that resolves to the action key which the user pressed to confirm the message. */ open(messageBox: MessageBox, qualifier?: Qualifier): Promise; onDestroy(): void; }