import { RefObject } from 'react'; import { Button, Style } from '../components/buttons'; import { EditorState, LexicalEditor } from 'lexical'; export interface ToolbarProperties { editor: LexicalEditor; buttons: Button[]; isSelected: boolean[]; } export type LexicalOnChange = (editorState: EditorState, editor: LexicalEditor, tags: Set) => void; export interface Properties { html?: string; label?: string; readOnly?: boolean; autoFocus?: boolean; showCharCount?: boolean; helperText?: string; buttons?: Array