import { TerraPlacementEnum } from '../../../../../helpers'; import { ControlValueAccessor } from '@angular/forms'; import { CheckboxInterface } from './checkbox.interface'; import { FocusOrigin } from '@angular/cdk/a11y'; import { L10nLocale } from 'angular-l10n'; import * as i0 from "@angular/core"; export declare class CheckboxComponent implements ControlValueAccessor, CheckboxInterface { _locale: L10nLocale; /** * @description If true, the check box will be disabled. Default false. */ isDisabled: boolean; /** @description If true, a * indicates that the value is required. Default false. */ isRequired: boolean; /** * @description Set the caption. */ name: string; /** @description Set the tooltip.*/ tooltipText: string; /** * @description Set the tooltip placement (bottom, top, left, right). Default top. * */ tooltipPlacement: TerraPlacementEnum; /** @description Set the state indeterminate of the checkbox.*/ isIndeterminate: boolean; /** * @description Set an icon (e.g. icon-save). */ icon: string; /** @description Stores a callback function which is executed whenever the checkbox was blurred. */ _onTouchedCallback: () => void; /** @description Stores a callback function which is executed whenever the value of the checkbox changes. */ _onChangeCallback: (_: boolean) => void; /** @description Internal model. The value of the checkbox. */ value: boolean; constructor(_locale: L10nLocale); /** @description Writes a new value to the element.*/ writeValue(value: boolean): void; /** @description Registers a callback function that is called when the control's value changes in the UI.*/ registerOnChange(fn: (_: boolean) => void): void; /** @description Registers a callback function that is called by the forms API on initialization to update the form model on blur.*/ registerOnTouched(fn: () => void): void; /** @description Handles focus changes to the checkbox. If checkbox is blurred, call onTouchedCallback.*/ _onFocusChange(origin: FocusOrigin): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }