import type { Ref } from 'vue'; import type { EditorState, LexicalEditor } from 'lexical'; export type Class = new (...args: any[]) => T; export type MaybeRef = Ref | T; export type InitialEditorStateType = null | string | EditorState | ((editor: LexicalEditor) => void);