import * as _angular_cdk_bidi from '@angular/cdk/bidi'; import { Direction } from '@angular/cdk/bidi'; import * as _angular_core 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: _angular_core.InputSignal; readonly nzDisabled: _angular_core.InputSignalWithTransform; readonly nzOptions: _angular_core.InputSignal; readonly value: _angular_core.WritableSignal<(string | number)[] | null>; readonly finalDisabled: _angular_core.WritableSignal; protected readonly dir: _angular_core.Signal<_angular_cdk_bidi.Direction>; protected readonly normalizedOptions: _angular_core.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: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵ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; dir: Direction; 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: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; static ngAcceptInputType_nzAutoFocus: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzIndeterminate: unknown; static ngAcceptInputType_nzChecked: unknown; } declare class NzCheckboxModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵ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 }; export type { NzCheckboxOption };