import { EventEmitter } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { TerraPlacementEnum } from '../../../helpers/enums/terra-placement.enum'; import * as i0 from "@angular/core"; /** @deprecated since v5. Use angular material's [checkbox](https://material.angular.io/components/checkbox/overview) instead. */ export declare class TerraCheckboxComponent implements ControlValueAccessor { /** * @description If true, the check box will be disabled. Default false. */ inputIsDisabled: boolean; /** * @description Set the caption. */ inputCaption: string; /** * @description Set an icon (e.g. icon-save). */ inputIcon: string; /** @description Set the tooltip.*/ tooltipText: string; /** * @description Set the tooltip placement (bottom, top, left, right). Default top. * */ tooltipPlacement: TerraPlacementEnum; /** @deprecated Temporarily for {@see TerraCheckboxTreeComponent}*/ notifyOnChanges: boolean; /** * @description Set accessor for the indeterminate state of the checkbox * @param value */ set isIndeterminate(value: boolean); /** * @description get accessor for indeterminate state of the checkbox */ get isIndeterminate(): boolean; /** * @description Emits the current isIndeterminate state when it has changed. */ isIndeterminateChange: EventEmitter; isValid: boolean; /** * @description a unique string identifier for the specific input instance. */ _id: string; _isIndeterminate: boolean; _innerValue: boolean; private _onTouchedCallback; private _onChangeCallback; constructor(); /** * @description Notifies a consumer via `ngModelChange` with the given value. * Is called whenever the value of the checkbox changes. * @param value */ onChange(value: boolean): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Updates the _innerValue of the checkbox based on the given value. * @param value */ writeValue(value: boolean): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Registers a given callback method, which will be called whenever the value of the checkbox changes. * @param fn */ registerOnChange(fn: (value: any) => void): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Registers a given callback method, which will be called whenever the checkbox has been touched. * @param fn */ registerOnTouched(fn: () => void): void; private _updateIntermediateState; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }