import { EventEmitter, ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class FormInputMixin<T> implements ControlValueAccessor {
    protected _value: T | any;
    inputEl: ElementRef;
    leave: EventEmitter<void>;
    handler?: (data: any) => any;
    autoFocus?: boolean;
    inputId: string;
    set value(val: T);
    get value(): T;
    ngAfterViewInit(): void;
    onChange(_: T): void;
    writeValue(value: T): void;
    registerOnChange(fn: any): void;
    registerOnTouched(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormInputMixin<any>, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FormInputMixin<any>, "ng-component", never, { "handler": "handler"; "autoFocus": "autoFocus"; "inputId": "inputId"; "value": "value"; }, { "leave": "leave"; }, never, never>;
}
