import { ComponentType } from 'react'; import { FormProps } from './components/Form'; import { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; /** The properties for the `withTheme` function, essentially a subset of properties from the `FormProps` that can be * overridden while creating a theme */ export type ThemeProps = Pick, 'fields' | 'templates' | 'widgets' | '_internalFormWrapper'>; /** A Higher-Order component that creates a wrapper around a `Form` with the overrides from the `WithThemeProps` */ export default function withTheme(themeProps: ThemeProps): ComponentType>;