import * as i0 from '@angular/core'; import { OnInit, OnChanges, AfterContentInit, SimpleChanges, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core'; import { NgControl, NgForm, FormGroupDirective } from '@angular/forms'; import { FormAccessorCtor, ErrorStateCtor } from '@usitsdasdesign/dds-ng/core/common-behaviors'; import { FocusHandlerDirective } from '@usitsdasdesign/dds-ng/core/focus-handler'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { DdsFormControlGroup, DdsFormControl, ErrorState, Themes } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; declare class CheckboxGroupComponent implements OnInit, OnChanges, AfterContentInit, DdsFormControlGroup { title: string | undefined; isInverse: boolean | undefined; isRequired: boolean | undefined; groupId: string; private checkboxItems; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; addCheckboxItem(checkbox: CheckboxComponent): void; setCheckboxesRequired(isRequired: boolean): void; setItemsInverse(isInverse: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const CheckboxBase: FormAccessorCtor & ErrorStateCtor; declare class CheckboxComponent extends CheckboxBase implements OnInit, OnChanges, DdsFormControl { ngControl: NgControl; parentForm: NgForm; parentFormGroup: FormGroupDirective; checkboxGroup: CheckboxGroupComponent; cdr: ChangeDetectorRef; el: ElementRef; private ddsConfig; disabled: boolean | undefined; checkboxField: ElementRef; focusDir: FocusHandlerDirective; value: boolean; isError: boolean | undefined; isInverse: boolean | undefined; isIndeterminate: boolean | undefined; errorState: string | ErrorState | undefined; label: string | undefined; ariaLabel: string | undefined; customClass: string | undefined; isRequired: boolean | undefined; theme: Themes | string | undefined; stateChanged: EventEmitter; themeConfig: ThemeClassesMap; isRequiredGroup: boolean; _isError: boolean; private firstModelCheck; constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, checkboxGroup: CheckboxGroupComponent, cdr: ChangeDetectorRef, el: ElementRef, ddsConfig: DdsConfigService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; changeHandle(el?: EventTarget | HTMLInputElement): void; writeValue(checked: boolean): void; setDisabledState(disabled: boolean): void; setInverse(isInverse: boolean): void; reset(): void; getCheckedValue(): boolean | string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CheckboxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface CheckboxGroupOptions { title?: string; isRequired?: boolean; isInverse?: boolean; } interface CheckboxOptions { label?: string; theme?: Themes | string; customClass?: string; isIndeterminate?: boolean; isInverse?: boolean; isError?: boolean; ariaLabel?: string; errorState?: string | ErrorState; disabled?: boolean; isRequired?: boolean; } export { CheckboxComponent, CheckboxGroupComponent, CheckboxModule }; export type { CheckboxGroupOptions, CheckboxOptions };