import { PropertyValues } from 'lit'; import { SbbSelectionGroupBaseElement } from '../core/base-elements.ts'; import { SbbRadioButtonElement } from '../radio-button/radio-button.component.ts'; import { SbbRadioButtonPanelElement } from '../radio-button-panel.ts'; /** * It can be used as a container for radio button elements. * * @slot - Use the unnamed slot to add `sbb-radio-button`, `sbb-radio-button-panel`, `sbb-selection-action-panel` and `sbb-selection-expansion-panel` elements to the `sbb-radio-button-group`. * @slot error - Use this to provide a `sbb-error` to show an error message. * @overrideType value - (T = string) | null */ export declare class SbbRadioButtonGroupElement extends SbbSelectionGroupBaseElement | SbbRadioButtonPanelElement> { static readonly elementName: string; static readonly role = "radiogroup"; static readonly events: { readonly didChange: "didChange"; readonly change: "change"; readonly input: "input"; }; protected readonly selectionElementSelectors = "sbb-radio-button, sbb-radio-button-panel"; protected readonly panelElementSelector: string; /** * Whether the radios can be deselected. */ accessor allowEmptySelection: boolean; /** * The value of the radio group. */ set value(val: T | null); get value(): T | null; /** * Used to preserve the `value` in case the radios are not yet 'loaded' */ private _fallbackValue; /** Name for the group. Will be propagated to the child radio buttons. Must be unique if multiple groups are used on the same page. */ accessor name: string; /** List of contained radio buttons. */ get radioButtons(): (SbbRadioButtonElement | SbbRadioButtonPanelElement)[]; constructor(); protected willUpdate(changedProperties: PropertyValues): void; protected firstUpdated(changedProperties: PropertyValues): void; private _onRadioChange; /** * Proxy 'name' to child radio-buttons */ private _updateRadiosName; /** * Re-trigger the setter and update the checked state of the radios. * Mainly used to cover cases where the setter is called before the radios are loaded */ private _updateRadioState; protected onSlotChange(): void; } declare global { interface HTMLElementTagNameMap { 'sbb-radio-button-group': SbbRadioButtonGroupElement; } } //# sourceMappingURL=radio-button-group.component.d.ts.map