import React from 'react'; import { FieldDescription } from './fields'; import { FieldWrapperProps } from './FieldWrapper'; export declare type ValuesDescription = { [x: string]: any; }; export interface FormGeneratorInterface { fields: Array; validate: Function; style?: Object; className?: string; values?: { [x: string]: any; }; sendFullObject?: boolean; isFormData?: boolean; AlternativeWrapper?: React.ComponentType; Submit?: React.ComponentType; submitText?: string; validateOnChange?: boolean; requiredErrorText?: string; } export declare type FormState = { errors: { [x: string]: string; }; fields: { [x: string]: any; }; changed: { [x: string]: boolean; }; }; export declare const Form: React.FC;