import * as _angular_core from '@angular/core';
import { OnInit, AfterViewInit, ElementRef, EventEmitter, InjectionToken } from '@angular/core';
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
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;
    protected readonly dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
    readonly nzName: _angular_core.InputSignal<string | null>;
    readonly nzDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
    readonly nzOptions: _angular_core.InputSignal<NzCheckboxOption[] | string[] | number[]>;
    readonly value: _angular_core.WritableSignal<(string | number)[] | null>;
    readonly finalDisabled: _angular_core.WritableSignal<boolean>;
    protected readonly normalizedOptions: _angular_core.Signal<NzCheckboxOption[]>;
    constructor();
    writeValue(value: Array<string | number> | 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<NzCheckboxGroupComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<NzCheckboxGroupComponent, "nz-checkbox-group", ["nzCheckboxGroup"], { "nzName": { "alias": "nzName"; "required": false; "isSignal": true; }; "nzDisabled": { "alias": "nzDisabled"; "required": false; "isSignal": true; }; "nzOptions": { "alias": "nzOptions"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
}

declare class NzCheckboxComponent implements OnInit, ControlValueAccessor, AfterViewInit {
    private ngZone;
    private elementRef;
    private cdr;
    private focusMonitor;
    protected readonly dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
    private destroyRef;
    protected checkboxGroupComponent: ng_zorro_antd_checkbox.NzCheckboxGroupComponent | null;
    protected nzFormStatusService: NzFormStatusService | null;
    private isNzDisableFirstChange;
    onChange: OnChangeType;
    onTouched: OnTouchedType;
    inputElement: ElementRef<HTMLInputElement>;
    readonly nzCheckedChange: EventEmitter<boolean>;
    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<NzCheckboxComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<NzCheckboxComponent, "[nz-checkbox]", ["nzCheckbox"], { "nzValue": { "alias": "nzValue"; "required": false; }; "nzAutoFocus": { "alias": "nzAutoFocus"; "required": false; }; "nzDisabled": { "alias": "nzDisabled"; "required": false; }; "nzIndeterminate": { "alias": "nzIndeterminate"; "required": false; }; "nzChecked": { "alias": "nzChecked"; "required": false; }; "nzId": { "alias": "nzId"; "required": false; }; "nzName": { "alias": "nzName"; "required": false; }; }, { "nzCheckedChange": "nzCheckedChange"; }, never, ["*"], true, never>;
    static ngAcceptInputType_nzAutoFocus: unknown;
    static ngAcceptInputType_nzDisabled: unknown;
    static ngAcceptInputType_nzIndeterminate: unknown;
    static ngAcceptInputType_nzChecked: unknown;
}

declare class NzCheckboxModule {
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<NzCheckboxModule, never>;
    static ɵmod: _angular_core.ɵɵNgModuleDeclaration<NzCheckboxModule, never, [typeof NzCheckboxComponent, typeof NzCheckboxGroupComponent], [typeof NzCheckboxComponent, typeof NzCheckboxGroupComponent]>;
    static ɵinj: _angular_core.ɵɵInjectorDeclaration<NzCheckboxModule>;
}

/**
 * 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<NzCheckboxGroupComponent>;

export { NZ_CHECKBOX_GROUP, NzCheckboxComponent, NzCheckboxGroupComponent, NzCheckboxModule };
export type { NzCheckboxOption };
