import * as i0 from '@angular/core'; import { OnInit, AfterContentInit, OnChanges, ChangeDetectorRef, ElementRef, EventEmitter, SimpleChanges } from '@angular/core'; import { FocusHandlerDirective } from '@usitsdasdesign/dds-ng/core/focus-handler'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { DdsFormControlGroup, WidthState, ErrorState, DdsFormControl, Themes } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { NgControl, NgForm, FormGroupDirective } from '@angular/forms'; import { FormAccessorCtor, ErrorStateCtor, DestroyCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; declare const RadioGroupBase: FormAccessorCtor & ErrorStateCtor & DestroyCtor; declare class RadioGroupComponent extends RadioGroupBase implements OnInit, AfterContentInit, OnChanges, DdsFormControlGroup { ngControl: NgControl; parentForm: NgForm; parentFormGroup: FormGroupDirective; cdr: ChangeDetectorRef; el: ElementRef; private ddsConfig; _isError: boolean; get isFullWidth(): boolean; name: string | undefined; disabled: boolean | undefined; isError: boolean | undefined; isUncheckable: boolean | undefined; isInverse: boolean | undefined; title: string | undefined; width: WidthState | string | undefined; isRequired: boolean | undefined; errorState: string | ErrorState | undefined; set value(value: string | undefined | null); get value(): string | undefined | null; stateChanged: EventEmitter; id: string; private _value; private firstChange; private radioItems; constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, cdr: ChangeDetectorRef, el: ElementRef, ddsConfig: DdsConfigService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; addRadioItem(radio: RadioComponent): void; changeItem(value: string | undefined | null): void; writeValue(value: string): void; setDisabledState(disabled: boolean): void; reset(): void; setRadioDisabled(): void; setRadioRequired(isRequired: boolean): void; setRadioError(isError: boolean): void; setItemsInverse(isInverse: boolean): void; setWidth(width: WidthState | string): void; setActiveItem(value: string | undefined | null, radioItems: RadioComponent[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RadioComponent implements OnInit, DdsFormControl { cdr: ChangeDetectorRef; private radioGroup; el: ElementRef; private ddsConfig; disabled: boolean | undefined; radio: ElementRef; focusDir: FocusHandlerDirective; label: string | undefined; value: string | undefined; customClass: string | undefined; theme: Themes | string | undefined; isInverse: boolean | undefined; stateChanged: EventEmitter; themeConfig: ThemeClassesMap; isRequiredGroup: boolean; isFormControlRequired: boolean; isErrorGroup: boolean; private _checked; private _groupName; set checked(value: boolean); get checked(): boolean; set groupName(value: string | undefined); get groupName(): string | undefined; constructor(cdr: ChangeDetectorRef, radioGroup: RadioGroupComponent, el: ElementRef, ddsConfig: DdsConfigService); ngOnInit(): void; handleKeydown(event: KeyboardEvent): void; preventEvent(event: KeyboardEvent): void; selectItem(): void; private setValueFromParent; setInverse(isInverse: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RadioModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface RadioGroupOptions { name?: string; title?: string; disabled?: boolean; isError?: boolean; width?: WidthState | string; isUncheckable?: boolean; isInverse?: boolean; errorState?: string | ErrorState; isRequired?: boolean; } interface RadioOptions { label?: string; disabled?: boolean; isInverse?: boolean; theme?: Themes | string; customClass?: string; } interface RadioButton { options: RadioOptions; value: string; } export { RadioComponent, RadioGroupComponent, RadioModule }; export type { RadioButton, RadioGroupOptions, RadioOptions };