import * as _odx_angular_cdk_radio_group_control from '@odx/angular/cdk/radio-group-control'; import * as i3 from '@odx/angular'; import { DisabledController, ReadonlyController } from '@odx/angular'; import * as i0 from '@angular/core'; import { InjectionToken } from '@angular/core'; import { CustomFormControl } from '@odx/angular/cdk/custom-form-control'; /** * A directive that provides radio button functionality within a radio group. * It tracks the active state based on the current value of the parent `odxRadioGroupControl`. * * This directive integrates with Angular Forms through `DisabledController` and `ReadonlyController` directives, * enabling form control states like disabled and readonly. It automatically updates its classes * to reflect these states and the active (checked) state. * * @template T - The type of the value. */ declare class RadioControlDirective { protected readonly disabledController: DisabledController | null; protected readonly readonlyController: ReadonlyController | null; protected readonly radioGroupControl: _odx_angular_cdk_radio_group_control.RadioGroupControlDirective; /** * The value of the radio control. * * @type {T | null} * @default null */ value: T | null; /** * The `aria-checked` attribute value. * * @type {string} */ get ariaChecked(): string; /** * Gets a value indicating whether the radio control is active. * * @type {boolean} */ get isActive(): boolean; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[odxRadioControl]", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>; } declare const RADIO_GROUP_CONTROL: InjectionToken>; /** * A directive that provides radio group functionality for its child radio button components. * It tracks the value and selection state of a group of `odxRadioControl` directives. * * This directive extends `CustomFormControl` to integrate seamlessly with Angular Forms API, * providing form control methods and properties. It supports form control states like disabled * and readonly through `DisabledController` and `ReadonlyController` directives. * * It uses Angular's dependency injection to provide itself as `RADIO_GROUP_CONTROL` token, * allowing child radio buttons to communicate with the radio group directive. * * @template T - The type of the value. */ declare class RadioGroupControlDirective extends CustomFormControl { private readonly hostElement; constructor(); protected onFocusOut(event: FocusEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[odxRadioGroupControl]", never, {}, {}, never, never, true, never>; } declare class RadioGroupControlModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { RADIO_GROUP_CONTROL, RadioControlDirective, RadioGroupControlDirective, RadioGroupControlModule };