import NileElement from '../internal/nile-element'; import type { CSSResultGroup, PropertyValues } from 'lit'; /** * @summary Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control. * * @dependency nile-button-group * * @slot - The default slot where `` or `` elements are placed. * @slot label - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` * attribute. * * @event change - Emitted when the radio group's selected value changes. * @event input - Emitted when the radio group receives user input. * @event invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * @csspart button-group - The button group that wraps radio buttons. * @csspart button-group__base - The button group's `base` part. */ export declare class NileRadioGroup extends NileElement { static styles: CSSResultGroup; private readonly hasSlotController; private customValidityMessage; defaultSlot: HTMLSlotElement; private hasButtonGroup; defaultValue: string; /** * The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot * instead. */ label: string; /** The name of the radio group, submitted as a name/value pair with form data. */ name: string; /** The current value of the radio group, submitted as a name/value pair with form data. */ value: string; /** * By default, form controls are associated with the nearest containing `
` element. This attribute allows you * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in * the same document or shadow root for this to work. */ form: string; /** Ensures a child radio is checked before allowing the containing form to submit. */ required: boolean; /** Used to show radio in inline or not */ labelInline: boolean; /** Used to disabled or not */ disabled: boolean; helpText: string; errorMessage: string; /** The radio's labelborder for whole gp. */ islabelborder: boolean; /** Allow the radio to be unchecked. */ allowUncheckGroup: boolean; connectedCallback(): void; disconnectedCallback(): void; private getAllRadios; private handleRadioClick; protected updated(changedProperties: PropertyValues): void; handleDisabledChange(): void; private handleInitialDisabledState; private handleKeyDown; private handleLabelClick; private handleSlotChange; private updateCheckedRadio; handleValueChange(): void; render(): import("lit-html").TemplateResult<1>; } export default NileRadioGroup; declare global { interface HTMLElementTagNameMap { 'nile-radio-group': NileRadioGroup; } }