import { EventEmitter, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FieldConfig } from '../../models/field-config.model'; import { FormField } from '../../models/form-field.model'; import { RadioOption } from '../../models/radio-option.model'; import { FormUtilityService } from '../../services/form-utility.service'; import * as i0 from "@angular/core"; /** * Provides implementation of form field radio type component * @export * @class RadioComponent * @implements {OnInit} * @implements {FormField} */ export declare class RadioComponent implements OnInit, FormField { private formUtilityService; config: FieldConfig; group: FormGroup; formControlName: string; private radioGroups; set radioGroup(value: RadioOption[]); get radioGroup(): RadioOption[]; isDisabled: boolean; selectedRadioOption: EventEmitter; constructor(formUtilityService: FormUtilityService); /** * Implementation of ngOnInit lifecycle hook method to create form group and initialize components instance properties * @memberof RadioComponent */ ngOnInit(): void; /** * Initializes the components instance properties from config else it defines config * @memberof RadioComponent */ initializeConfigProperties(): void; /** * Handles radio selection event on change of it * @param {RadioOption} value * @memberof RadioComponent */ onChange(value: RadioOption): void; /** * Allows Angular to detect the specific radio option that needs to change or be added instead of rebuilding the whole radio options in DOM by tracking option unique Id. * @param {number} index * @return {number} * @memberof RadioComponent */ trackById(index: number, radio: RadioOption): number | string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }