import { AnyEditorPlugin, EditorDefaultPropertiesExtHkt, EditorDefaultPropertiesExtHktPlugin, EditorRawPlugin } from '../../types'; import { UidlStoreUidlElement, editorPluginUidlStore } from '../uidl-store-plugins'; import { DraggableEntityBase } from './editor-plugin-dnd-store'; import { editorPluginDndStoreMask } from './editor-plugin-dnd-store-mask'; /** * 编辑器拖放仓库元素渲染器插件属性扩展高等类型 */ export interface EditorPluginDndStoreElementRendererPropertiesExtHkt { editor: { /** * 拖放仓库 */ dndStore: { /** * 可拖拽实体 */ draggableEntities: { [K in DraggableEntityTypeElement]: DraggableElement; }; }; }; } /** * 可拖拽元素 */ export interface DraggableElement extends DraggableEntityBase { /** * 类型 */ type: DraggableEntityTypeElement; /** * 元素 */ element: UidlStoreUidlElement; } /** * 可拖拽实体类型:元素 */ export declare const DRAGGABLE_ENTITY_TYPE_ELEMENT = "element"; /** * 可拖拽实体类型:元素 */ export type DraggableEntityTypeElement = typeof DRAGGABLE_ENTITY_TYPE_ELEMENT; /** * EditorPluginDndStoreElementRendererPropertiesExtHkt 辅助类型 */ export interface $EditorPluginDndStoreElementRendererPropertiesExtHkt extends EditorDefaultPropertiesExtHkt { type: EditorPluginDndStoreElementRendererPropertiesExtHkt>; } /** * 编辑器拖放仓库元素渲染器插件 */ export declare const editorPluginDndStoreElementRenderer: EditorRawPlugin<$EditorPluginDndStoreElementRendererPropertiesExtHkt, typeof editorPluginDndStoreMask | typeof editorPluginUidlStore>; //# sourceMappingURL=editor-plugin-dnd-store-element-renderer.d.ts.map