import { FC } from 'react'; import { AnyEditorPlugin, EditorDefaultPropertiesExtHkt, EditorDefaultPropertiesExtHktPlugin, EditorRawPlugin } from '../../types'; import { editorPluginRender } from '../editor-plugin-render'; import { DraggableEntity, DraggableEntityType, DroppablePosition, DroppablePositionType } from './editor-plugin-dnd-store'; /** * 编辑器拖放仓库遮罩插件属性扩展高等类型 */ export interface EditorPluginDndStoreMaskPropertiesExtHkt { editor: { /** * 拖放仓库 */ dndStore: { /** * 可拖拽的实体渲染器映射表 */ draggableEntityRendererMap: Map, DraggableEntityRenderer>; /** * 可放置位置渲染器映射表 */ droppablePositionRendererMap: Map, DroppablePositionRenderer>; }; }; } /** * 可拖拽实体渲染器 */ export type DraggableEntityRenderer = FC>; /** * 可放置位置渲染器 */ export type DroppablePositionRenderer = FC>; /** * EditorPluginDndStoreMaskPropertiesExtHkt 辅助类型 */ export interface $EditorPluginDndStoreMaskPropertiesExtHkt extends EditorDefaultPropertiesExtHkt { type: EditorPluginDndStoreMaskPropertiesExtHkt>; } /** * 编辑器拖放仓库遮罩插件 */ export declare const editorPluginDndStoreMask: EditorRawPlugin<$EditorPluginDndStoreMaskPropertiesExtHkt, typeof editorPluginRender>; //# sourceMappingURL=editor-plugin-dnd-store-mask.d.ts.map