import { EventEmitter } from '../../stencil-public-runtime'; import { IconName } from '../icon/exports'; /** * A radio button is used to select a single option in a list. */ export declare class RadioButton { /** Host DOM element */ host: HTMLRRadioButtonElement; /** Specifies the `id` of the `
` to which the element belongs */ form?: string; /** Name of element (data) within a form */ name: string; /** Value of element data within a form */ value: any; /** Specifies if element must be ignored during validation of the form elements */ novalidate?: boolean; /** Apply validation error visual style */ invalid?: boolean; /** Defines if an element shall be validated */ required?: boolean; /** Prevents user interaction and applies disabled style */ disabled?: boolean; /** Automatically focus the radio button when the component is mounted. Note: Only one element per page should have autofocus set to true, following browser standard behavior. */ autofocus?: boolean; /** When true the radio is selected */ checked?: boolean; /** * Optional hint, visually presented under the radio button, * giving additional context to the user */ hint?: string; /** Custom validation error message */ error?: string; /** Additional directions for radio-button */ description?: string; /** Icon name from the set */ icon?: IconName; /** Emits `rChange` event on the `` when status changes */ rChange: EventEmitter<{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }>; /** Emits `rReset` event on the `` onReset changes its status */ rReset: EventEmitter<{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }>; /** Emits `radioButtonClick` event on the `` on click event */ radioButtonClick: EventEmitter; /** Emits `rChange` event on the `` when on keydown event */ radioButtonKeydown: EventEmitter; /** Emits `radioButtonDeselect` event on the `` when on deselect event */ radioButtonDeselect: EventEmitter<{ element: HTMLRRadioButtonElement; value: any; checked: boolean; }>; /** Sets focus on the radio button element */ setFocus(): Promise; /** Blurs the radio button element */ setBlur(): Promise; /** Selects the radio button element */ select(): Promise; /** * Unchecks all radio buttons in the associated group or form. */ uncheckAll(): Promise; private initialState; /** Reference to the native input element */ private nativeEl; /** Unique id */ private uniqueId; /** Reference to the radio button elements */ private get radioElements(); /** Get the text content of the slot */ private get slotTextValue(); /** Identify wrapping radio group element */ private get groupEl(); private get groupName(); /** Identify wrapping form element */ private get parentFormEl(); /** Check if the radio button is leading */ private get isLeading(); /** Check if the radio button is trailing */ private get isTrailing(); private onClick; private onKeydown; private onFocus; private onBlur; private get shouldAutofocus(); private applyAutofocus; componentWillLoad(): void; componentDidLoad(): void; render(): any; }