import type { UmbNotificationOptions, UmbNotificationColor } from './types.js'; import type { UUIToastNotificationElement } from '../../../external/uui/index.js'; /** * @class UmbNotificationHandler */ export declare class UmbNotificationHandler { private _closeResolver; private _closePromise; private _elementName?; private _data?; private _defaultColor; private _defaultDuration; key: string; element: UUIToastNotificationElement; color: UmbNotificationColor; duration: number | null; /** * Creates an instance of UmbNotificationHandler. * @param {UmbNotificationOptions} options * @memberof UmbNotificationHandler */ constructor(options: UmbNotificationOptions); /** * @param {...any} args * @memberof UmbNotificationHandler */ close(...args: any): void; /** * @returns {*} * @memberof UmbNotificationHandler */ onClose(): Promise; }