import { SoftAs } from '@p-lc/shared'; import { EditorUidl } from '@p-lc/uidl'; import { ElementOfUidl } from '@p-lc/uidl-utils'; import { Get } from 'type-fest'; import { AnyEditorPlugin, Editor, EditorRawPlugin } from '../../types'; /** * 编辑器 UIDL 仓库插件属性扩展 */ export interface EditorPluginUidlStorePropertiesExt { editor: { /** * UIDL 仓库 */ uidlStore: { /** * UIDL 键值 */ uidlKey?: string; /** * UIDL */ uidl: EditorUidl | null; }; }; } /** * UIDL 仓库 UIDL */ export type UidlStoreUidl = SoftAs, ['uidlStore', 'uidl']>>, EditorUidl>; /** * UIDL 仓库 UIDL 元素 */ export type UidlStoreUidlElement = ElementOfUidl>; /** * 编辑器 UIDL 仓库插件 */ export declare const editorPluginUidlStore: EditorRawPlugin; //# sourceMappingURL=editor-plugin-uidl-store.d.ts.map