import * as React from "react";
import "@ant-design/compatible/assets/index.css";
import { ButtonProps } from "antd/lib/button";
import { FormElementInterface } from "..";
interface Props {
    state?: Record<string, any>;
    updateState?: (key: string, value: any) => void;
    onChange?: (state: Record<string, any>) => void;
    onSubmit?: (state: Record<string, any>) => void;
    submit?: ButtonProps;
    settings?: {
        layout?: "horizontal" | "vertical" | "inline";
    };
    elements: FormElementInterface[];
}
export declare const FormGenerator: React.FC<Props>;
export {};
