import { FormOptions, SubmitFormResults, FormData } from '../types'; declare const useSubmitForm: ({ hostUrl, headers, team, processId, async, }: FormOptions) => [ (data: FormData) => Promise, { loading: boolean; results: SubmitFormResults | undefined; error: string | undefined; formData: FormData | undefined; reset: () => void; } ]; export default useSubmitForm;