import { type ICommand, defaultCommands } from '../../commands/index'; import { IMarkdownEditor, ToolBarProps } from '../..'; import './index.less'; export type Commands = keyof typeof defaultCommands | ICommand; export interface IToolBarProps extends ToolBarProps { className?: string; editorProps: IMarkdownEditor; mode?: boolean; prefixCls?: string; toolbars?: T[]; onClick?: (type: string) => void; } export default function ToolBar(props: IToolBarProps): import("react/jsx-runtime").JSX.Element | null;