import type { HoistException } from '@xh/hoist/exception'; import { ExceptionHandlerOptions, HoistModel } from '@xh/hoist/core'; /** * Manages the default display of exceptions. * * Currently, we allow only a single exception (the latest) to be displayed at a time. * Consider modifying to allow stacking, as with Message. * * @internal */ export declare class ExceptionDialogModel extends HoistModel { xhImpl: boolean; displayData: { exception: HoistException; options: ExceptionHandlerOptions; }; detailsIsOpen: boolean; /** Exception currently being displayed */ get exception(): HoistException; /** Options for exception currently being displayed */ get options(): any; /** Optional user supplied message */ userMessage: string; constructor(); show(exception: HoistException, options: ExceptionHandlerOptions): void; showDetails(exception: HoistException, options: ExceptionHandlerOptions): void; close(): void; openDetails(): void; sendReportAsync(): Promise; }