import React from 'react'; export declare const isCodeNode: (editor: any) => boolean; export declare const useToolsConfig: () => ({ key: string; type: string; title: string; icon: React.JSX.Element; onClick?: undefined; isActive?: undefined; } | { key: string; title: string; type: string; icon: React.JSX.Element; onClick: (editor: any) => void; isActive: (editor: any) => boolean; })[]; export type ToolsKeyType = 'redo' | 'undo' | 'clear' | 'head' | 'divider' | 'color' | 'table' | 'column' | 'quote' | 'code' | 'b-list' | 'n-list' | 't-list' | 'bold' | 'italic' | 'strikethrough' | 'inline-code' | 'divider' | 'H1' | 'H2' | 'H3' | 'link' | 'align-left' | 'align-center' | 'align-right';