import React from 'react';
import { Submission as FormioSubmission } from '@formio/react';
export interface FormViewerProps {
    formId: string;
    onSubmit?: (submission: FormioSubmission) => Promise<void>;
    onError?: (error: Error) => void;
    submitting?: boolean;
    showInfoAlert?: boolean;
    className?: string;
    options?: {
        noAlerts?: boolean;
        readOnly?: boolean;
        [key: string]: any;
    };
}
export declare const FormViewer: React.FC<FormViewerProps>;
export default FormViewer;
