import * as i0 from '@angular/core'; import { OnInit, EventEmitter } from '@angular/core'; import * as i1 from '@angular/common'; import { NgControl, ControlValueAccessor } from '@angular/forms'; declare class DaffRadioSetComponent { name: string; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DaffRadioComponent implements OnInit { private radioset; /** * @docs-private */ _checked: boolean; /** * Output event of selection being changed */ selectionChange: EventEmitter; /** * The checked property of the radio */ get checked(): boolean; set checked(value: boolean); /** * The value of the radio */ value: any; /** * The id of the radio. It is uniquely generated but can be overwritten by the user. Must be unique. */ id: string; /** * Name of the Radio */ name: string; /** * Used for aria-label. Default to name if user does not input a label. */ label: string; /** * Used for aria-labelledby. */ labelledby: string; disabled: boolean; focused: boolean; constructor(radioset: DaffRadioSetComponent); /** * @docs-private */ ngOnInit(): void; /** * updates Focus styling */ onFocus(): void; /** * updates Blur styling */ onBlur(): void; /** * toggles checked attribute on */ select(): void; /** * toggles checked attribute off */ deselect(): void; onChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DaffRadioRegistry { private _accessors; /** * @description * Adds a control to the internal registry. */ add(control: NgControl, accessor: DaffRadioControlValueAccessorDirective): void; /** * @description * Removes a control from the internal registry. */ remove(accessor: DaffRadioControlValueAccessorDirective): void; /** * @description * Selects a radio button. */ select(accessor: DaffRadioControlValueAccessorDirective): void; private _isSameGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * ControlValueAccessor functionality for the DaffRadio */ declare class DaffRadioControlValueAccessorDirective implements OnInit, ControlValueAccessor { _control: NgControl; private _registry; private _radio; _onChange: () => void; _onTouched: () => void; /** * The value of the ControlValueAccessor */ value: any; /** * The name of the ControlValueAccessor */ name: string; constructor(_control: NgControl, _registry: DaffRadioRegistry, _radio: DaffRadioComponent); /** * @docs-private */ ngOnInit(): void; /** * * writeValue function from the CVA interface */ writeValue(value: any): void; /** * registerOnChange implemented from the CVA interface */ registerOnChange(fn: any): void; /** * registerOnTouch implemented from the CVA interface */ registerOnTouched(fn: any): void; /** * sets the disabled state. */ setDisabledState?(isDisabled: boolean): void; /** calls select function for the radio */ fireSelect(): void; /** calls deselect function for the radio */ fireDeselect(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DaffRadioModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ declare const DAFF_RADIO_COMPONENTS: readonly [typeof DaffRadioComponent, typeof DaffRadioSetComponent, typeof DaffRadioControlValueAccessorDirective]; export { DAFF_RADIO_COMPONENTS, DaffRadioComponent, DaffRadioControlValueAccessorDirective, DaffRadioModule, DaffRadioSetComponent };