import { default as React } from 'react'; /** * 注册自定义组件 */ export declare const registerComponent: (name: string, component: React.ComponentType) => void; /** * 获取组件 */ export declare const getComponent: (name: string) => React.ComponentType | undefined; /** * 获取所有已注册组件 */ export declare const getRegisteredComponents: () => string[]; /** * ComponentRegistry 对象 */ export declare const ComponentRegistry: { register: (name: string, component: React.ComponentType) => void; get: (name: string) => React.ComponentType | undefined; getAll: () => string[]; has: (name: string) => boolean; }; export default ComponentRegistry;