import React from "react"; import { Button } from "../../design"; import { Action, Props as ModalProps } from "../../design/atoms/display/Modal"; import { FormTemplate, MapFormToValues, Props as FormProps } from "./Form"; /** * Modal Form props */ declare type Props = Exclude & Omit, "observed" | "onChange" | "onSubmit"> & { /** * Form submission callback */ callback: (values: MapFormToValues) => Promise; /** * Submit button properties */ submit?: Omit, "type">; /** * Custom actions after submit button */ actions?: Action[]; }; /** * Modal Form */ export declare function ModalForm(props: Props): JSX.Element; export {};