import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; import { CreateBooleanValue, ReadBooleanValue, UpdateBooleanValue } from '@dasch-swiss/dsp-js'; import { Subscription } from 'rxjs'; import { BaseValueComponent } from '../base-value.component'; export declare class BooleanValueComponent extends BaseValueComponent implements OnInit, OnChanges, OnDestroy { private _fb; displayValue?: ReadBooleanValue; valueFormControl: FormControl; commentFormControl: FormControl; form: FormGroup; valueChangesSubscription: Subscription; customValidators: any[]; displayTypes: any[]; preferredDisplayType: string; constructor(_fb: FormBuilder); getInitValue(): boolean | null; ngOnInit(): void; onSubmit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; getNewValue(): CreateBooleanValue | false; getUpdatedValue(): UpdateBooleanValue | false; }