/// import type { Node as ProseMirrorNode } from '@tiptap/pm/model'; import type { Editor } from '@tiptap/react'; import type { RichContent } from 'ricos-schema'; import type { HtmlAttributes, RicosTheme } from 'ricos-types'; import type { EditorProps, EditorStyleClasses, TFunction } from 'wix-rich-content-common'; export interface PluginProps { context: { isMobile: boolean; t: (key: string) => string; }; componentData: any; node: ProseMirrorNode; editorCommands: unknown; updateAttributes: (data: unknown) => null; } export interface RicosTiptapEditorProps { editor: Editor; t: TFunction; onUpdate?: ({ content }: { content: RichContent; }) => void; editorStyleClasses?: EditorStyleClasses; onSelectionUpdate?: ({ selectedNodes, content, }: { selectedNodes: ProseMirrorNode[]; content: RichContent; }) => void; theme?: RicosTheme; onLoad?: EditorProps['onLoad']; devToolsElement?: React.ReactNode; htmlAttributes: HtmlAttributes; [key: string]: any; } //# sourceMappingURL=types.d.ts.map