import type { SyncPluginState } from '../../types/SyncPluginState.js' import type { UndoPluginState } from '../../types/UndoPluginState.js' import { PluginKey } from 'prosemirror-state' import type { DecorationSet } from 'prosemirror-view' export const ySyncPluginKey = new PluginKey('y-sync') export const yUndoPluginKey = new PluginKey('y-undo') export const yCursorPluginKey = new PluginKey('yjs-cursor')