import { ElementRef, EventEmitter, Renderer2, DoCheck } from '@angular/core'; import { ControlValueAccessor, NgForm, FormGroupDirective, NgControl } from '@angular/forms'; import { HcFormControlComponent } from '../form-field/hc-form-control.component'; export declare class CheckboxChangeEvent { source: CheckboxComponent; checked: boolean; constructor(source: CheckboxComponent, checked: boolean); } export declare class CheckboxComponent extends HcFormControlComponent implements ControlValueAccessor, DoCheck { private _renderer; private _elementRef; _ngControl: NgControl; private _uniqueId; private _form; private _checked; private _tabIndex; _componentId: string; focused: boolean; /** Value attribute of the native checkbox */ value: string; /** Whether the checkbox is indeterminate. It can represent a checkbox with three states. */ indeterminate: boolean; /** Unique id for the checkbox element. If none is supplied, one will be auto-generated. */ id: string; /** Sets unique name used in a form */ name: string | null; /** Event emitted whenever the state changes */ change: EventEmitter; _checkboxInput: ElementRef; _checkBoxOverlay: ElementRef; readonly _getHostId: string; readonly _getCheckboxCheckedClass: boolean; readonly _getCheckboxDisabledClass: boolean; readonly _getCheckboxFocusedClass: boolean; _onKeyDown(event: KeyboardEvent): void; readonly _getCheckboxIndeterminateClass: boolean; /** Whether the checkbox is required. */ required: boolean; /** Whether the checkbox is disabled. */ disabled: boolean; /** Whether the checkbox is checked. */ checked: boolean; /** TabIndex attribute of native checkbox */ tabIndex: number; readonly _inputId: string; private _onChangeFunc; private _onTouchFunc; constructor(tabindex: string, _renderer: Renderer2, _elementRef: ElementRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _ngControl: NgControl); writeValue(value: any): void; registerOnChange(fn: (value: any) => void): void; registerOnTouched(fn: () => any): void; setDisabledState(disabledVal: boolean): void; /** Toggles the current checked state of the checkbox */ toggle(): void; _clickEvent(event: Event): void; _labelClickEvent(event: Event): void; _focusEvent(): void; _onBlur(): void; _stopChangeEvent(event: Event): void; private _emitChangeEvent; ngDoCheck(): void; private _updateErrorState; }