import { Form } from './Form'; import { FormItemProps, FormItemValidator, FormItemErrors, FormItemTexts, FormItemValueWatcher } from './FormItem.model'; export declare class FormItem { readonly name: string; readonly validators: FormItemValidator[]; readonly tag: string; readonly props: any; readonly required: boolean; disabled: boolean; label: string; formItemComponent: any; formControlComponent: any; form: Form; private _value; private _errors; private _isValid; private _valueWatchers; constructor(props: FormItemProps); disable(): void; enable(): void; setValue(value: any): void; getValue(): any; watchValue(cb: FormItemValueWatcher): void; getErrors(): FormItemErrors; setErrors(errors: FormItemErrors): void; isValid(): boolean; setTexts({ label }: FormItemTexts): void; isDisabled(): boolean; _disable(): void; _enable(): void; _setValue(value: any): void; _saveValueAndRunWatchers(value: any): void; _calcErrors(value: any): void; _setErrors(errors: FormItemErrors): void; _emptyErrors(): void; }