import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import { LuChangeEvent } from '../../interface'; import { DatasourceInterface } from '../../types/datasource-interface'; export declare class RadioGroup implements ComponentInterface, DatasourceInterface { private inputId; mutationO: MutationObserver; el: HTMLElement; /** * This is used when the parent form group receives the update event to tell the parent if it should validate or not. */ isResetting: boolean; /** * Provides a way for users to specify the labeling elements. Pass the id's, separated by a space, to this prop. */ ariaLabeledByAddition: string; /** * If `true`, the radios can be deselected. */ allowEmptySelection: boolean; /** * Direction of elements */ direction: 'down' | 'across'; /** * @internal - used by the form group element to declare it's presence */ hasFormGroup: boolean; /** * id set dynamically */ useId: string; /** * The name of the control, which is submitted with the form data. */ name: string; /** * Tells if a value is required from the radio group */ required: boolean; /** * Used to add is-valid attribute signifying validity */ valid: boolean; /** * Used to add is-invalid attribute signifying invalidity */ invalid: boolean; /** * the value of the radio group. */ value: any; valueChanged(value: any | undefined): void; /** * emitted when all radio group is "blurred" */ luBlur: EventEmitter; /** * Emitted when the value has changed. */ luChange: EventEmitter; connectedCallback(): void; disconnectedCallback(): void; mutationCallback: (mutationList: MutationRecord[], _observer: MutationObserver) => void; handleNewRadio: (radio: HTMLLuRadioElement) => void; radioDisconnected: (_radio: HTMLLuRadioElement) => void; getRadios: () => HTMLLuRadioElement[]; updateRadios(checkedRadio?: HTMLLuRadioElement): void; /** * this gives us a handle to set focus on the element */ setFocus(): Promise; /** * this is used by the form validation/ form group to reset Value without initiating a validity check * @param update */ updateValue(update: any): Promise; hostData(): { id: string; 'is-valid': boolean; 'is-invalid': boolean; 'aria-labelledby': string; class: { 'is-radio-group': boolean; 'direction-across': boolean; }; role: string; }; }