import { AfterViewInit, DoCheck, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import { CanDisable } from '../../../common/disabled'; import { HasTabIndex } from '../../../common/tabindex'; import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y'; import { UniqueSelectionDispatcher } from '@angular/cdk/collections'; import { RadioGroupBase } from './radio-group-base'; import * as i0 from "@angular/core"; /** Change event object emitted by radio. */ export declare class SapphireRadioChange { /** The new `checked` value of the radio. */ readonly source: RadioBase; /** The source radio of the event. */ readonly value: any; constructor( /** The new `checked` value of the radio. */ source: RadioBase, /** The source radio of the event. */ value: any); } declare const _RadioMixinBase: import("../../../common/constructor").Constructor & import("../../../common/constructor").AbstractConstructor & import("../../../common/constructor").Constructor & import("../../../common/constructor").AbstractConstructor & { new (_elementRef: ElementRef): { _elementRef: ElementRef; }; }; /** * @Directive decorator is just to be able to have a constructor with DI. * This class is being extended by other components. **/ export declare class RadioBase extends _RadioMixinBase implements OnInit, AfterViewInit, DoCheck, OnDestroy, CanDisable, HasTabIndex { readonly radioGroup: RadioGroupBase; elementRef: ElementRef; private _focusMonitor; private _radioDispatcher; /** * Attached to the aria-label attribute of the host element. In most cases, * aria-labelledby will take precedence so this may be omitted. */ ariaLabel: string; /** * Users can specify the `aria-labelledby` attribute which will be forwarded * to the input element */ ariaLabelledby: string | null; /** The 'aria-describedby' attribute is read after the element's label and field type. */ ariaDescribedby: string; /** Analog to HTML 'name' attribute used to group radios for unique selection. */ name: string; /** Analog to HTML 'name' attribute used to group radios for unique selection. */ autofocus: boolean; _getAriaChecked(): 'true' | 'false'; /** A unique id for the radio input. If none is supplied, it will be auto-generated. */ id: string; /** Returns the unique id for the visual hidden input. */ get inputId(): string; /** Previous value of the input's tabindex. */ private previousTabIndex; /** Unregister function for _radioDispatcher */ private removeUniqueSelectionListener; /** The native `` element */ _inputElement: ElementRef; /** Optional note text to display below the checkbox label. */ note?: string; /** The value of this radio button. */ get value(): any; set value(value: any); private _value; /** Whether this radio button is checked. */ get checked(): boolean; set checked(value: BooleanInput); private _checked; /** Whether the radio button is disabled. */ get disabled(): boolean; set disabled(value: BooleanInput); private _disabled; /** Whether the radio button is readonly. */ get readonly(): boolean; set readonly(value: BooleanInput); private _readonly; /** Whether the radio button is required. */ get required(): boolean; set required(value: BooleanInput); private _required; /** * Event emitted when the checked state of this radio button changes. * Change events are only emitted when the value changes due to user interaction with * the radio button (the same behavior as ``). */ readonly change: EventEmitter; constructor(radioGroup: RadioGroupBase, elementRef: ElementRef, tabIndex: string, _focusMonitor: FocusMonitor, _radioDispatcher: UniqueSelectionDispatcher); ngDoCheck(): void; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** Focuses the radio button. */ focus(options?: FocusOptions, origin?: FocusOrigin): void; /** Gets the tabindex for the underlying input element. */ private updateTabIndex; private emitChangeEvent; /** Triggered when the radio button receives an interaction from the user. */ _onInputInteraction(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export {};