import { CSSResultGroup, TemplateResult } from 'lit'; import { SbbElement } from '../../core/base-elements.ts'; import { SbbTitleLevel } from '../../title.ts'; /** * 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. */ export declare class SbbAlertGroupElement extends SbbElement { static readonly elementName: string; static styles: CSSResultGroup; static readonly events: { 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. */ accessor role: 'alert' | 'status' | string; /** Title for this alert group which is only visible for screen reader users. */ accessor accessibilityTitle: string; /** Level of the accessibility title, will be rendered as heading tag (e.g. h2). Defaults to level 2. */ accessor accessibilityTitleLevel: SbbTitleLevel; /** Whether the group currently has any alerts. */ private accessor _hasAlerts; constructor(); private _alertClosed; private _slotChanged; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-alert-group': SbbAlertGroupElement; } } //# sourceMappingURL=alert-group.component.d.ts.map