import type { ComponentType } from 'react'; import type { UIMetaContext } from '@ui-schema/react/UIMeta'; import type { WithOnChange, WithValuePlain } from '@ui-schema/react/UIStore'; import type { UIStoreActions } from '@ui-schema/react/UIStoreActions'; import type { WidgetPayload } from '@ui-schema/ui-schema/Widget'; import type { GroupRendererProps, BindingTypeGeneric } from './Binding.js'; /** * dev note: here `P` must not use NoInfer, or it breaks the WidgetEngine `WidgetEngineOverrideProps` */ export type WidgetType
= ComponentType