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