import { LinkTypes, TagTypes } from "./types";
import type { TextEditorToolbarComponents } from "../editorModel";
import type { LexicalToolbarState, TextAlignment } from "../model/textEditorTypes";
interface TextEditorToolbarLexicalProps {
    toolbarComponents?: TextEditorToolbarComponents;
    state: LexicalToolbarState;
    onBlockStyleToggle: (style: string) => void;
    onInlineStyleToggle: (style: string) => void;
    onAlignmentChange: (alignment: TextAlignment) => void;
    onLinkClick: (type: LinkTypes) => void;
    onTagClick: (type: TagTypes) => void;
    onUndo: () => void;
    onRedo: () => void;
    onCleanTag?: () => void;
}
/**
 * Основная панель инструментов редактора Lexical. Собирает управляющие блоки и синхронизирует их с текущим состоянием выделения.
 */
export declare function TextEditorToolbarLexical({ toolbarComponents, state, onBlockStyleToggle, onInlineStyleToggle, onAlignmentChange, onLinkClick, onTagClick, onUndo, onRedo, onCleanTag }: TextEditorToolbarLexicalProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=TextEditorToolbarLexical.d.ts.map