import "virtual:uno.css";
import EBuilder from "./components/builder/index";
import EDesigner from "./components/designer/index";
import ENode from "./components/node/index";
//type PluginManager, type PageManager, usePageManager
import { pluginManager } from "./utils";
import { setupComponent } from "./extensions";
import "./index.less";
// export type * from "./types/epic-designer";
// 初始化设计器
setupComponent(pluginManager);

// const components = [EBuilder, EDesigner]

// 注册全局组件
// const EDesignr = {
//   install (app: App) {
//     components.forEach((comp) => {
//       app.component(comp.__name ?? '', comp)
//     })
//   },
//   pluginManager,
//   usePageManager
// }
//, pluginManager, usePageManager, type PluginManager, type PageManager
export { EBuilder, EDesigner, ENode };
// export default EDesignr;
