import type { Submission } from '@formio/react';
export type UseFormProps = {
    formId: string;
    submissionId: string;
    submissionMode: 'view' | 'edit';
    onSubmit: (submission: Submission) => Promise<void>;
};
export declare const UseForm: ({ formId, submissionId, submissionMode, onSubmit }: UseFormProps) => import("react/jsx-runtime").JSX.Element;
