import { type LexicalEditor } from "lexical";
import { LinkTypes, TagTypes } from "../../toolbar";
import { type LexicalToolbarState, type LinkType, type TextAlignment } from "../textEditorTypes";
interface UseTextEditorLexicalActionsParams {
    editor: LexicalEditor | null;
    toolbarState: LexicalToolbarState;
    hasLocalLinkDialog: boolean;
    onOpenLinkDialog: (type: LinkTypes) => void;
    onOpenTagDialog: (type: TagTypes) => void;
}
export declare function useTextEditorLexicalActions({ editor, toolbarState, hasLocalLinkDialog, onOpenLinkDialog, onOpenTagDialog }: UseTextEditorLexicalActionsParams): {
    handleAddLink: (url: string, text: string, add: string, ariaLabel: string, showQrCode: boolean) => void;
    handleAddLocalLink: (url: string, caption: string) => void;
    handleAlignmentChange: (alignment: TextAlignment) => void;
    handleBlockStyleToggle: (style: string) => void;
    handleCleanSemanticTag: () => void;
    handleInlineStyleToggle: (style: string) => void;
    handleLinkClick: (type: LinkTypes) => void;
    handleRedo: () => void;
    handleTagClick: (type: TagTypes) => void;
    handleUndo: () => void;
    getCurrentSelectionText: () => string;
    getSelectedLinkState: () => LinkType;
    insertSemanticTagAtSelection: (tag: string, text: string, attributes: Record<string, string>) => void;
};
export {};
//# sourceMappingURL=useTextEditorLexicalActions.d.ts.map