import * as i0 from '@angular/core'; import { ElementRef, EventEmitter, ChangeDetectorRef, QueryList, OnInit } from '@angular/core'; import * as i1 from '@angular/common'; import { UntypedFormArray, ControlValueAccessor, NgControl } from '@angular/forms'; declare class DaffCheckboxComponent { private _cdRef; /** * @docs-private */ nativeCheckbox: ElementRef; /** * The name of the checkbox. */ name: string; /** * The value of the checkbox. */ value: any; /** * Boolean value to determine whether or not the checkbox is checked. */ private _checked; get checked(): boolean; set checked(value: boolean); /** * The id of the checkbox. Must be unique. If not entered by a user then it is generated. */ id: string; /** * The aria-label of the checkbox. */ label: string; /** * The aria-labeledby of the checkbox. */ labeledBy: string; /** * Event on whether or not the selection has changed. */ becameChecked: EventEmitter; becameUnchecked: EventEmitter; /** * Whether the checkbox is focused */ focused: boolean; /** * Whether the checkbox is disabled. */ disabled: boolean; /** * The role of the component. Set to "checkbox". * * @docs-private */ role: string; /** * @docs-private */ _onChange(val: Event): void; /** * @docs-private */ get focusClass(): boolean; /** * @docs-private */ get disabledClass(): boolean; /** * Sets focused to false. */ onBlur(): void; /** * Sets focused to true. */ onFocus(): void; constructor(_cdRef: ChangeDetectorRef); /** * Sets checked to true. */ select(): void; /** * Sets checked to false */ deselect(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DaffCheckboxSetComponent { formArray: UntypedFormArray; /** * The name of the checkbox-set */ name: string; /** * The role of the component. Set to "checkbox". * * @docs-private */ role: string; /** * The list of checkboxes in the set. * * @docs-private */ checkboxes: QueryList; valueList: EventEmitter; getValues(): any[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A directive for binding the DaffCheckboxComponent and the Control Value Accessor. */ declare class DaffCheckboxControlValueAccessorDirective implements OnInit, ControlValueAccessor { _control: NgControl; private _checkbox; _onChange: (val: any) => void; _onTouched: () => void; /** * The value of the ControlValueAccessor */ value: any; /** * The name of the ControlValueAccessor */ name: string; constructor(_control: NgControl, _checkbox: DaffCheckboxComponent); /** * A lifecycle method called when the directive is initialized. */ /** * @docs-private */ ngOnInit(): void; /** * writes a new value down into the component. */ writeValue(value: any): void; /** * Registers the change handler */ registerOnChange(fn: any): void; /** * Registers the touched handler */ registerOnTouched(fn: any): void; /** * Sets the disabled state. */ setDisabledState?(isDisabled: boolean): void; /** * calls the child checkbox's select function */ fireSelect(): void; /** * calls the child checkbox's deselect function */ fireDeselect(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class DaffCheckboxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ declare const DAFF_CHECKBOX_COMPONENTS: readonly [typeof DaffCheckboxComponent, typeof DaffCheckboxSetComponent, typeof DaffCheckboxControlValueAccessorDirective]; export { DAFF_CHECKBOX_COMPONENTS, DaffCheckboxComponent, DaffCheckboxControlValueAccessorDirective, DaffCheckboxModule, DaffCheckboxSetComponent };