import { ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; /** Class implements basic ControlValueAccessor things */ export declare abstract class FlControlValueAccessor implements ControlValueAccessor { model: T | null; protected isDisabled: boolean; onTouched: () => void; private onChange; protected readonly ngControl: NgControl | null; protected readonly changeDetectorRef: ChangeDetectorRef; protected constructor(); get hasValue(): boolean; get disabled(): boolean; set disabled(isDisabled: boolean); /** We use this getter to set disabled attribute for native HTML tags */ get nativeDisabled(): true | null; protected computeDisabled(): boolean; registerOnChange(fn: (value: T | null) => void): void; registerOnTouched(fn: () => void): void; writeValue(obj: T | null): void; writeValueFromHost(obj: T | null): void; /** * Updates the model. Use this method to update model from your Control * * @param value - new value */ updateModel(value: T | null): void; /** * Triggered when some updates are incoming. Override this method to refresh your Control's view * * @param value - new value * @protected */ protected incomingUpdate(value: T | null): void; setDisabledState(isDisabled: boolean): void; private update; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>; }