import type { ComponentType, ReactNode } from "react"; import type { UIElement } from "@json-render/core"; export interface ComponentRenderProps

> { element: UIElement; children?: ReactNode; emit: (event: string) => void; } export type ComponentRenderer

> = ComponentType< ComponentRenderProps

>; export type ComponentRegistry = Record>;