///
import { BoxProps } from '@mui/material/Box';
import { FormApi, FormState } from 'final-form';
import { FormRenderProps } from 'react-final-form';
import { ObjectSchema, SimpleObject, SimpleType } from '../../lib/ObjectSchema';
import { AreaPresetKey } from '../AutoGrid/presets';
import { FieldsetContext } from './useFieldset';
declare type FormSchema = ObjectSchema;
export interface FormContext extends Omit {
observer?: (values: Record, api: FormApi) => void;
}
export interface AutoFormProps, InitialFormValues = Partial> extends FormContext, Pick, 'form' | 'handleSubmit'>, Omit {
config: AreaPresetKey;
schema: FormSchema;
state: FormState;
}
export default function AutoForm({ children, form, handleSubmit, observer, schema, state, ...other }: AutoFormProps): JSX.Element;
export {};