import React from 'react'; import { useForm } from './state/formState'; export { default as Field } from './Field'; import './fields/global.css'; declare type FormProps = { cancelAction?: (_: any) => void; cancelButton?: boolean; cancelText?: string; formId: string; className?: string; defaultValues?: any; onSubmit(formState: { [key: string]: any; }): void; onChange?(formState: object): void; submitText?: string; }; declare const Form: React.FC; export { Form, useForm };