import { OnDestroy, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { FlBaseControl, FlBaseControlHost } from 'flex-controls/interfaces'; import { FlControlValueAccessor } from './control-value-accessor'; import * as i0 from "@angular/core"; /** Uses to implement any control that you want */ export declare abstract class FlControl extends FlControlValueAccessor implements FlBaseControl, OnInit, OnDestroy { protected host?: FlBaseControlHost | undefined; protected requestUpdate: () => void; private onControlChange; private valueChange$; constructor(host?: FlBaseControlHost | undefined); ngOnInit(): void; protected computeDisabled(): boolean; registerOnControlChange(fn: (value: T | null) => void): void; registerRequestUpdate(fn: () => void): void; get valueChange(): Observable; /** Updates model and run changes */ updateModel(value: T | null): void; writeValue(value: T | null): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, false, never>; }