import { Editor } from '@tiptap/react';
import { IconKey } from './toolbar-icons';
import { ToolbarMode } from '../types';
export interface ToolDef {
    id: string;
    icon: IconKey;
    label: string;
    action: (editor: Editor) => void;
    isActive?: (editor: Editor) => boolean;
    isDisabled?: (editor: Editor) => boolean;
}
export interface ToolGroup {
    id: string;
    buttons: ToolDef[];
}
type ToolActions = Record<string, (editor: Editor) => void>;
export declare function createToolbarConfig(mode: ToolbarMode, actions: ToolActions): ToolGroup[];
export declare const fontOptions: {
    value: string;
    label: string;
}[];
export {};
