import { DataType, FieldType } from "../constants/fields"; import * as yup from "yup"; export declare class Field { id: string; dataType: DataType; fieldType: FieldType; attributes: any; fieldValidation?: yup.AnySchema; value: any; key: string; valid: boolean; error: string; label: string; onFieldValueChange: (value: any) => {} | undefined; multiValued: boolean; section?: string; displayAccessor?: string; valueAccessor?: string; optionObjectAsValue?: boolean; constructor(field: any, key: string); getValue(): any; setValue(value: any): void; validate(): string | null; }