import type { App } from '../App'; import type { Node } from '../Node'; import { Group } from '../shapes/Group'; import type { NodeOptions } from '../types'; type ComponentFactory = (props: Record, app: App) => Node; declare const registry: Record; export declare function registerComponent(type: string, factory: ComponentFactory): void; export declare function createComponentFromJSON(type: string, props: Record, app: App): Node | null; /** Base UI component wrapper */ export declare class UIComponent extends Group { componentType: string; constructor(type: string, options?: NodeOptions); } export { registry };