import { CSSResultGroup, TemplateResult, LitElement } from 'lit'; import { SbbTitleLevel } from '../../title.js'; /** * It can be used as a container for one or more `sbb-alert` component. * * @slot - Use the unnamed slot to add `sbb-alert` elements to the `sbb-alert-group`. * @slot accessibility-title - title for this `sbb-alert-group` which is only visible for screen reader users. * @event {CustomEvent} didDismissAlert - Emits when an alert was removed from DOM. * @event {CustomEvent} empty - Emits when `sbb-alert-group` becomes empty. */ export declare class SbbAlertGroupElement extends LitElement { static styles: CSSResultGroup; static readonly events: { readonly didDismissAlert: "didDismissAlert"; readonly empty: "empty"; }; /** * The role attribute defines how to announce alerts to the user. * * 'status': sets aria-live to polite and aria-atomic to true. * 'alert': sets aria-live to assertive and aria-atomic to true. */ role: 'alert' | 'status' | string; /** Title for this alert group which is only visible for screen reader users. */ accessibilityTitle?: string; /** Level of the accessibility title, will be rendered as heading tag (e.g. h2). Defaults to level 2. */ accessibilityTitleLevel: SbbTitleLevel; /** Whether the group currently has any alerts. */ private _hasAlerts?; /** Emits when an alert was removed from DOM. */ private _didDismissAlert; /** Emits when `sbb-alert-group` becomes empty. */ private _empty; private _abort; private _removeAlert; connectedCallback(): void; private _slotChanged; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-alert-group': SbbAlertGroupElement; } } //# sourceMappingURL=alert-group.d.ts.map