import type EditorJS from '@editorjs/editorjs'; import type { EditorConfig } from '@editorjs/editorjs'; interface EditorJSInlineToolConfig { EditorJS: typeof EditorJS; editorJSConfig: Omit; } interface EditorJSInlineWindow extends Window { editorJSInline: { tool: { config: EditorJSInlineToolConfig; }; }; } export type { EditorJSInlineToolConfig, EditorJSInlineWindow };