import { PropertyValues } from 'lit'; import { DDSElement } from "../../base/index.cjs"; import { MergeVariantProps } from "../../type-utils.cjs"; import { DaikinInputGroup } from "../input-group/index.cjs"; declare const cvaRadioGroup: (props?: ({ orientation?: "vertical" | "horizontal" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; type RadioGroupProps = MergeVariantProps; /** * Radio groups are used to group multiple radio buttons so that make sure that only one will be selected in the group * * Hierarchies: * - `daikin-radio-group` > `daikin-radio` * - `daikin-input-group` > `daikin-radio-group` > `daikin-radio` * * @fires change - A custom event emitted when current checked radio changed. * * @slot - A slot for radio buttons. Place `daikin-radio` elements here. * * @example * * ```js * import "@daikin-oss/design-system-web-components/components/radio/index.js"; * import "@daikin-oss/design-system-web-components/components/radio-group/index.js"; * ``` * * ```html * * * * * * ``` */ export declare class DaikinRadioGroup extends DDSElement { static readonly styles: import('lit').CSSResult; private readonly _radios; /** * Specify the radio group orientation * * @default "vertical" */ orientation: RadioGroupProps["orientation"]; /** * The form name, submitted as a name/value pair when submitting the form. * When this value is set, all `daikin-radio` child components under it will be assigned this name. */ name: string; /** * `value` of the currently selected radio. * See {@link DaikinRadio.value}. */ value: string; /** * Whether the radio group is required. * Controlled by `daikin-input-group` when used within `daikin-input-group`. */ required: boolean; /** * Whether the radio group is disabled. * Controlled by `daikin-input-group` when used within `daikin-input-group`. */ disabled: boolean; /** * The label text used as the value of aria-label. * Set automatically by `reflectInputGroup` method. */ private _label; private _reflectSlotProperties; private _updateRadios; private readonly _handleRadioChange; private _handleSlotChange; /** * Handles keyboard interactions in the radio list. * https://www.w3.org/WAI/ARIA/apg/patterns/radio/ */ private _handleKeyDown; render(): import('lit-html').TemplateResult<1>; protected updated(changedProperties: PropertyValues): void; /** * This method is used by `daikin-input-group` to reflect it's attributes to this component. * @private */ reflectInputGroup(inputGroup: DaikinInputGroup): void; } declare global { interface HTMLElementTagNameMap { "daikin-radio-group": DaikinRadioGroup; } } export {};