import * as React from 'react';
import { FieldDefinition } from './FormComponents.types';
export declare type FormErrorChecker = (values: {
    [key: string]: any;
}) => (undefined | {
    form: string;
});
export interface FormClasses {
    formContainer: any;
    formField: any;
}
export interface FormProps {
    handleSubmit?: any;
    fieldDefinitions: Array<FieldDefinition>;
    form: string;
    containerStyle?: any;
    allRequired?: boolean;
    alwaysTouched?: boolean;
    destroyOnUnmount?: boolean;
    initialValues?: {
        [key: string]: any;
    } | null;
    validate?: FormErrorChecker;
    enableReinitialize?: boolean;
    fields?: any;
    keepDirty?: boolean;
    noShrink?: boolean;
    formClasses?: FormClasses;
}
export declare const Form: React.ComponentType<FormProps>;
