import { UidlComponent } from '@p-lc/uidl'; import { AnyEditorPlugin, EditorDefaultPlugin, EditorRawPlugin } from '../../types'; import { editorPluginName } from '../editor-plugin-name'; import { editorPluginPdStore } from '../pd-store-plugins'; import { UidlStoreUidlElement, editorPluginUidlStore, editorPluginUidlStoreComponents, editorPluginUidlStoreEdit } from '../uidl-store-plugins'; import { editorPluginUidlUtilsConfig } from '../uidl-utils-config-plugins'; import { editorPluginElementStoreEdit } from './editor-plugin-element-store-edit'; import { editorPluginElementStoreFind } from './editor-plugin-element-store-find'; import { editorPluginElementStoreSelect } from './editor-plugin-element-store-select'; /** * 编辑器元素仓库复制粘贴插件属性扩展 */ export interface EditorPluginElementStoreCopyPastePropertiesExt { editor: { /** * 元素仓库 */ elementStore: { /** * 撤销 * @param elementId 元素 ID */ copy(elementId: string): Promise; /** * 重做 * @param elementId 元素 ID */ paste(elementId?: string | null): Promise; }; }; } /** * 剪贴板 JSON:元素 */ export interface ClipboardJsonElement { /** * 组件 */ components?: UidlComponent[]; /** * 元素 */ element: UidlStoreUidlElement; } /** * 编辑器元素仓库复制粘贴插件 */ export declare const editorPluginElementStoreCopyPaste: EditorRawPlugin; //# sourceMappingURL=editor-plugin-element-store-copy-paste.d.ts.map