/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { BaseCustomControl } from '../custom-control/base-custom-control'; export declare class DatoCheckboxComponent extends BaseCustomControl implements OnInit, OnDestroy, ControlValueAccessor { private renderer; private cdr; private host; trueValue: any; falseValue: any; private _checked; private _indeterminatelyChecked; set indeterminatelyChecked(value: boolean); get indeterminatelyChecked(): boolean; /** * Whether the checkbox is checked. */ get checked(): boolean; set checked(value: boolean); set disabled(value: boolean); check: EventEmitter; /** * Get the native input */ get inputElement(): HTMLInputElement; constructor(renderer: Renderer2, cdr: ChangeDetectorRef, host: ElementRef, trueValue: any, falseValue: any); ngOnInit(): void; /** Toggles the `checked` state of the checkbox. */ toggle(): void; /** * * @param value */ writeValue(value: any): void; /** * * @param {boolean} isDisabled */ setDisabledState(isDisabled: boolean): void; ngOnDestroy(): void; /** * * @param value */ private setInputValue; }