import { DDSFormElement } from "../../base/index.cjs"; /** * The radio button component is a UI element that allows users to select one options from a set of choices. * It functions similarly to the HTML `` tag. \ * Please note that **a radio group component is not yet available**, so you'll need to manually group radio buttons when using multiple instances. * * Hierarchies: * - `daikin-radio-group` > `daikin-radio` * * @attr form - The form the component belongs to. * @attr name - The form name, submitted as a name/value pair when submitting the form. * @attr value - The initial form value, submitted as a name/value pair when submitting the form. * @prop {String} formAttr - The form the component belongs to. * @prop {String} name - The form name, submitted as a name/value pair when submitting the form. * @prop {String} value - The form value, submitted as a name/value pair when submitting the form. * * @fires change - A cloned event of a [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event) emitted from the inner `` element. * * @slot - A slot for the radio label content. * * @example * * ```js * import "@daikin-oss/design-system-web-components/components/radio/index.js"; * ``` * * ```html * * ``` */ export declare class DaikinRadio extends DDSFormElement { static readonly styles: import('lit').CSSResult; /** * Label text for the radio button. */ label: string; /** * Label position. * - `right` (default): The label will be placed to the right of the radio button. * - `hidden`: The label will not be shown. * * @default "right" */ labelPosition: "right" | "hidden"; /** * Specify the radio button checked state. */ checked: boolean; /** * Specify the radio button disabled state. */ disabled: boolean; /** * Specify the radio disabled state controlled by the parent component. * Controlled by `daikin-radio-group`. * * @private */ disabledByParent: boolean; /** * Whether the radio button can be focused. * Automatically set by `daikin-radio-group` component. */ skipTab: boolean; private _radio; private get _labelHidden(); private _updateFormValue; private _handleClick; private _handleChange; render(): import('lit-html').TemplateResult<1>; updated(changedProperties: Map): void; /** * Focuses on the inner radio. * @param options focus options */ focus(options?: FocusOptions): void; } declare global { interface HTMLElementTagNameMap { "daikin-radio": DaikinRadio; } }