import React from 'react'; import type { FieldValues } from 'react-hook-form'; import type { ThemeOptions } from '@material-ui/core'; import type { ExportedSchemaType } from '../hooks/use-data-exporter'; import type { FormSchemaType } from '../store/store'; declare type FormRendererProps = { data: FormSchemaType | ExportedSchemaType; onSubmit: (data: FieldValues) => void; theme?: ThemeOptions; fields?: React.FC[]; children?: never; }; export declare const FormRenderer: ({ data, onSubmit, theme, fields, }: FormRendererProps) => JSX.Element; export {};