import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; /** * @author pweyrich */ export declare class RadioGroupComponent implements ControlValueAccessor, OnInit, OnChanges { /** * Name of the group. This is projected to the input's name property. */ name: string; /** * Content of the -Element. Usually a string. */ legend: string; inline: boolean; private _value; private readonly _id; constructor(); /** * Implementation of the OnInit life cycle hook * @description Provides a generated id as default name if no name is given via the input. */ ngOnInit(): void; /** * Implementation of the OnChanges life cycle hook * @description Ensures that the name property is defined by using a generated id as a fallback value if no name is given. * @param changes */ ngOnChanges(changes: SimpleChanges): void; /** * set the value of the radio group and update model binding by executing a registered #changeCallback * @param value */ set value(value: any); /** * get the current value of the radio group */ get value(): any; /** * set the value of the radio group. * @param value */ writeValue(value: any): void; /** * register a change callback which is executed when the #value of the radio group changes * @param fn */ registerOnChange(fn: (_: any) => void): void; /** * register a touched callback which is executed when one of the given radio inputs has been visited * TODO: To be implemented * @param fn */ registerOnTouched(fn: () => void): void; private touchedCallback; private changeCallback; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }