/** * @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 } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { BaseCustomControl } from '../custom-control/base-custom-control'; export declare class DatoTogglerComponent extends BaseCustomControl implements ControlValueAccessor { private cdr; /** Whether to apply the label style */ datoTogglerNoLabel: boolean; isDisabled: boolean; private active; constructor(cdr: ChangeDetectorRef); get isActive(): boolean; writeValue(value: any): void; toggle(): void; setDisabledState(isDisabled: boolean): void; }