/// import type { BaseEditor } from 'slate'; import type { HistoryEditor } from 'slate-history'; import type { ReactEditor } from 'slate-react'; export interface UseToolBarLogicProps { markdownEditorRef: React.RefObject; keyTask$: any; store: any; openInsertLink$: any; setDomRect: (rect: any) => void; refreshFloatBar: any; domRect: any; } export declare const useToolBarLogic: ({ markdownEditorRef, keyTask$, store, openInsertLink$, setDomRect, refreshFloatBar, domRect, }: UseToolBarLogicProps) => { currentNode: import("slate").NodeEntry | null; highColor: string | null; isCodeNode: () => boolean; isFormatActive: (type: string) => boolean; isHighColorActive: boolean; isLinkActive: boolean; handleUndo: () => void; handleRedo: () => void; handleClearFormat: () => void; handleFormat: () => void; handleHeadingChange: (level: number) => void; handleColorChange: (color: string) => void; handleToggleHighColor: () => void; handleToolClick: (tool: any) => void; handleInsertLink: () => void; handleInsert: (op: any) => void; };