/** * @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'; import { OperatorTypes } from './operator-toggler.types'; export declare class DatoOperatorTogglerComponent extends BaseCustomControl implements ControlValueAccessor { private cdr; expanded: boolean; set datoTogglerValue(value: OperatorTypes); disabled: boolean; active: OperatorTypes; op1: OperatorTypes; op2: OperatorTypes; constructor(cdr: ChangeDetectorRef); setDisabledState(isDisabled: boolean): void; writeValue(value: OperatorTypes): void; toggle(): void; private setOperators; private getOppositeOperator; }