import { CSSResultGroup, PropertyValues, TemplateResult } from 'lit'; import { SbbElement } from '../core/base-elements.ts'; declare const SbbNotificationElement_base: import('../core/mixins.ts').AbstractConstructor & import('../core/mixins.ts').AbstractConstructor & typeof SbbElement; /** * It displays messages which require a user's attention without interrupting its tasks. * * @slot - Use the unnamed slot to add content to the `sbb-notification`. Content should consist of an optional `sbb-title` element and text content. * @slot title - Slot for the title. For the standard `sbb-title` element, the slot is automatically assigned when slotted in the unnamed slot. * @slot icon - Use this slot to display a custom icon by providing an `sbb-icon` component. * @cssprop [--sbb-notification-margin=0] - Can be used to modify the margin in order to get a smoother animation. * See style section for more information. */ export declare class SbbNotificationElement extends SbbNotificationElement_base { static readonly elementName: string; static styles: CSSResultGroup; static readonly events: { readonly beforeopen: "beforeopen"; readonly open: "open"; readonly beforeclose: "beforeclose"; readonly close: "close"; }; /** The type of the notification. */ accessor type: 'info' | 'note' | 'success' | 'warn' | 'error'; /** * Size variant, either s or m. * @default 'm' / 's' (lean) */ accessor size: 's' | 'm'; /** The enabled animations. */ accessor animation: 'open' | 'close' | 'all' | 'none'; /** The state of the component. */ private set _state(value); private get _state(); private _stateInternal; private _notificationElement; private _resizeObserverTimeout; private _language; private _notificationResizeObserver; constructor(); protected willUpdate(changedProperties: PropertyValues): void; private _open; close(): void; private _dispatchBeforeCloseEvent; protected firstUpdated(changedProperties: PropertyValues): void; private _isZeroAnimationDuration; private _setNotificationHeight; private _onNotificationResize; private _onNotificationAnimationEnd; private _handleOpening; private _handleClosing; private _handleSlotchange; private _configureTitle; protected renderIconName(): string; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-notification': SbbNotificationElement; } } export {}; //# sourceMappingURL=notification.component.d.ts.map