import { Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; import { OnInit, OnChanges, SimpleChanges, AfterViewInit, ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { OnChangeType, OnTouchedType, NzSizeLDSType, NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzFormStatusService } from 'ng-zorro-antd/core/form'; import { ReplaySubject, Subject } from 'rxjs'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ type NzRadioButtonStyle = 'outline' | 'solid'; declare class NzRadioGroupComponent implements OnInit, ControlValueAccessor, OnChanges { private readonly cdr; private readonly nzRadioService; private readonly directionality; private readonly destroyRef; private value; private isNzDisableFirstChange; onChange: OnChangeType; onTouched: OnTouchedType; nzDisabled: boolean; nzButtonStyle: NzRadioButtonStyle; nzSize: NzSizeLDSType; nzName: string | null; dir: Direction; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; writeValue(value: NzSafeAny): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzDisabled: unknown; } declare class NzRadioComponent implements ControlValueAccessor, AfterViewInit, OnInit { private readonly directionality; private readonly nzRadioService; private readonly ngZone; private readonly elementRef; private readonly cdr; private readonly focusMonitor; private readonly destroyRef; readonly nzFormStatusService: NzFormStatusService | null; private isNgModel; private isNzDisableFirstChange; isChecked: boolean; name: string | null; onChange: OnChangeType; onTouched: OnTouchedType; inputElement: ElementRef; nzValue: NzSafeAny | null; nzDisabled: boolean; nzAutoFocus: boolean; isRadioButton: boolean; dir: Direction; focus(): void; blur(): void; constructor(); setDisabledState(disabled: boolean): void; writeValue(value: boolean): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; ngOnInit(): void; ngAfterViewInit(): void; private setupClickListener; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzAutoFocus: unknown; static ngAcceptInputType_isRadioButton: unknown; } declare class NzRadioService { selected$: ReplaySubject; touched$: Subject; disabled$: ReplaySubject; name$: ReplaySubject; touch(): void; select(value: NzSafeAny): void; setDisabled(value: boolean): void; setName(value: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class NzRadioModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzRadioComponent, NzRadioGroupComponent, NzRadioModule, NzRadioService }; export type { NzRadioButtonStyle };