import { EventEmitter } from '../../stencil-public-runtime'; import { MdsPushNotificationEventDetail } from './meta/event-detail'; /** * @part notifications - The container wrapper of the notifications. * @slot - Add `HTML elements` or `components`, it is **recommended** to use `mds-push-notification` element. * @category feedback */ export declare class MdsPushNotification { host: HTMLMdsPushNotificationElement; private slotNotifications; private t; private cssItemsIntroDuration; private cssItemsOutroDuration; private cssItemsGap; /** * Specifies if the component is visible or not. */ visible?: boolean; /** * Specifies when the stack shows: with `auto` whenever notifications are added, with `manual` * only through `visible` or `show()`. In both, removing the last notification hides it; a * click outside does not. */ behavior?: 'auto' | 'manual'; /** * Emits when the component visibility changes */ changedEvent: EventEmitter; /** * Emits when the component is shown */ shownEvent: EventEmitter; /** * Emits when the component is hidden */ hiddenEvent: EventEmitter; /** * Animation for open notification * @param element HTMLElement that need to be opened * @returns */ private introItem; /** * Animation for close notification * @param element HTMLElement that need to be removed * @returns */ private outroItem; /** * manages the opening of notifications when they are added to the slot */ private handleSlotChange; private updateCSSCustomProps; private clear; /** * Shows the notification container. */ show(): Promise; /** * Hides the notification container. */ hide(): Promise; /** * Removes the given notification item(s) from the stack. * @param notification the notification item or items to remove */ removeNotification(notification: HTMLMdsPushNotificationItemElement | HTMLMdsPushNotificationItemElement[]): Promise; componentDidLoad(): void; visibleChanged(newValue?: boolean): void; render(): any; }