import { AfterContentInit, QueryList } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { RadioComponent } from '../radio/radio.component'; export declare class RadioGroupComponent implements ControlValueAccessor, AfterContentInit { private readonly controlDirective; /** * The currently selected child radio button value */ private currentValue; /** * The name of the radio group for use within a form */ set name(name: string); get name(): string; /** * The ID of any element that labels the radio group. */ ariaLabelledBy: string; get valid(): boolean; get touched(): boolean; childRadioButtons: QueryList; /** * The registered callback function called when an input event occurs on the input element. */ onChange: (value: any) => void; /** * The registered callback function called when an input event occurs on the input element. */ onTouch: () => void; constructor(controlDirective: NgControl); /** * @ignore */ ngAfterContentInit(): void; /** * @ignore */ private updateName; /** * @ignore */ private updateDisability; /** * @ignore */ private registerChangeCaptor; /** * @ignore */ private _name; /** * @ignore */ private _disabled; /** * INTERNAL * Method which is called when any child radio button changes value */ captureChildChangeEvent(radioButton: RadioComponent, selected: boolean): void; /** * INTERNAL * Run a function against all child radio buttons */ private updateChild; /** * Registers a function called when the control value changes. * Used by ReactiveForms to check for changes */ registerOnChange(fn: (value: any) => {}): void; /** * Registers a function called when the control is touched. * Used by ReactiveForms to check for touched-ness */ registerOnTouched(fn: any): void; /** * Sets the "disabled" property on the input element. * Used by ReactiveForms for setting the disablement of the element. */ setDisabledState(isDisabled: boolean): void; /** * Sets the "value" property on the input element. * Used by ReactiveForms for setting the element value. */ writeValue(obj: any): void; }