import { AfterContentInit, EventEmitter, OnDestroy, QueryList, ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { Subject } from 'rxjs'; import { NbBooleanInput } from '../helpers'; import { NbComponentOrCustomStatus } from '../component-status'; import { NbRadioComponent } from './radio.component'; /** * The `NbRadioGroupComponent` is the wrapper for `nb-radio` button. * It provides form bindings: * * ```html * * Option 1 * Option 2 * Option 3 * * ``` * * Also, you can use `value` and `valueChange` for binding without forms. * * ```html * * Option 1 * Option 2 * Option 3 * * ``` * * Radio items name has to be provided through `name` input property of the radio group. * * ```html * * ... * * ``` * * You can change radio group status by setting `status` input. * @stacked-example(Statuses, radio/radio-statuses.component) * * Also, you can disable the whole group using `disabled` attribute. * @stacked-example(Disabled group, radio/radio-disabled-group.component) * * */ export declare class NbRadioGroupComponent implements AfterContentInit, OnDestroy, ControlValueAccessor { protected hostElement: ElementRef; protected platformId: any; protected document: any; protected destroy$: Subject; protected onChange: (value: any) => void; protected onTouched: () => void; get value(): any; set value(value: any); protected _value: any; get name(): string; set name(name: string); protected _name: string; get disabled(): boolean; set disabled(disabled: boolean); protected _disabled: boolean; static ngAcceptInputType_disabled: NbBooleanInput; /** * Radio buttons status. * Possible values are `primary` (default), `success`, `warning`, `danger`, `info`. */ get status(): NbComponentOrCustomStatus; set status(value: NbComponentOrCustomStatus); protected _status: NbComponentOrCustomStatus; radios: QueryList; valueChange: EventEmitter; constructor(hostElement: ElementRef, platformId: any, document: any); ngAfterContentInit(): void; ngOnDestroy(): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; writeValue(value: any): void; setDisabledState(isDisabled: boolean): void; protected updateAndSubscribeToRadios(): void; protected updateNames(): void; protected updateValues(): void; protected updateDisabled(): void; protected subscribeOnRadiosValueChange(): void; protected propagateValue(value: any): void; protected subscribeOnRadiosBlur(): void; protected updateStatus(): void; protected updateAndMarkForCheckRadios(updateFn: (NbRadioComponent: any) => void): void; protected updateValueFromCheckedOption(): void; }