import { BaseField } from './BaseField'; import { IFieldConfig } from './interfaces'; import { Form } from './Form'; export declare class Field extends BaseField { readonly valid: boolean; readonly invalid: boolean; readonly dirty: boolean; value: T; initial: T; active: boolean; touched: boolean; visited: boolean; readonly pristine: boolean; didChange?: (value: T, field: Field) => any; private normalize; constructor(field: IFieldConfig, form: Form, depth: string[]); bind: () => { onChange: (e: any) => void; onFocus: () => void; onBlur: () => void; value: T; }; bindCheckbox: () => { onChange: (e: any) => void; onFocus: () => void; onBlur: () => void; checked: T; }; bindRadio: (value?: string | undefined) => { onChange: (e: any) => void; onFocus: () => void; onBlur: () => void; checked: boolean; value: string | undefined; }; onChange: (e: any) => void; onBlur: () => void; onFocus: () => void; }