import * as _angular_cdk_bidi from '@angular/cdk/bidi'; import { Direction } from '@angular/cdk/bidi'; import * as i0 from '@angular/core'; import { OnInit, AfterViewInit, ElementRef, EventEmitter, InjectionToken } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types'; import * as ng_zorro_antd_checkbox from 'ng-zorro-antd/checkbox'; import { NzFormStatusService } from 'ng-zorro-antd/core/form'; interface NzCheckboxOption { label: string; value: string | number; disabled?: boolean; } declare class NzCheckboxGroupComponent implements ControlValueAccessor { private onChange; private onTouched; private isDisabledFirstChange; private readonly directionality; readonly nzName: i0.InputSignal; readonly nzDisabled: i0.InputSignalWithTransform; readonly nzOptions: i0.InputSignal; readonly value: i0.WritableSignal<(string | number)[] | null>; readonly finalDisabled: i0.WritableSignal; protected readonly dir: i0.Signal<_angular_cdk_bidi.Direction>; protected readonly normalizedOptions: i0.Signal; constructor(); writeValue(value: Array | null): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; setDisabledState(disabled: boolean): void; onCheckedChange(optionValue: NzCheckboxOption['value'], checked: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzCheckboxComponent implements OnInit, ControlValueAccessor, AfterViewInit { private ngZone; private elementRef; private cdr; private focusMonitor; private directionality; private destroyRef; protected checkboxGroupComponent: ng_zorro_antd_checkbox.NzCheckboxGroupComponent | null; protected nzFormStatusService: NzFormStatusService | null; /** @deprecated */ private nzCheckboxWrapperComponent; dir: Direction; private destroy$; private isNzDisableFirstChange; onChange: OnChangeType; onTouched: OnTouchedType; inputElement: ElementRef; readonly nzCheckedChange: EventEmitter; nzValue: NzSafeAny | null; nzAutoFocus: boolean; nzDisabled: boolean; nzIndeterminate: boolean; nzChecked: boolean; nzId: string | null; nzName: string | null; innerCheckedChange(checked: boolean): void; writeValue(value: boolean): void; registerOnChange(fn: OnChangeType): void; registerOnTouched(fn: OnTouchedType): void; setDisabledState(disabled: boolean): void; focus(): void; blur(): void; constructor(); ngOnInit(): void; ngAfterViewInit(): void; private setValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzAutoFocus: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzIndeterminate: unknown; static ngAcceptInputType_nzChecked: unknown; } /** * 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 */ /** * @deprecated Will be removed in v21. It is recommended to use ``. */ declare class NzCheckboxWrapperComponent { readonly nzOnChange: EventEmitter; private checkboxList; addCheckbox(value: NzCheckboxComponent): void; removeCheckbox(value: NzCheckboxComponent): void; onChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzCheckboxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * 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 */ declare const NZ_CHECKBOX_GROUP: InjectionToken; export { NZ_CHECKBOX_GROUP, NzCheckboxComponent, NzCheckboxGroupComponent, NzCheckboxModule, NzCheckboxWrapperComponent }; export type { NzCheckboxOption };