import { Editor } from 'slate';
/**
 * 编辑器命令 Hook
 * 提供便捷的编辑器操作接口和状态查询
 *
 * @param editor - Slate 编辑器实例，如果为 null 则所有操作都不会执行
 * @returns 编辑器操作函数和状态查询函数
 */
export declare const useEditorCommands: (editor: Editor | null) => {
    toggleBold: () => void;
    toggleItalic: () => void;
    toggleUnderline: () => void;
    toggleStrikethrough: () => void;
    toggleCode: () => void;
    toggleHeading: (level: 1 | 2 | 3) => void;
    toggleBulletList: () => void;
    toggleNumberedList: () => void;
    toggleBlockQuote: () => void;
    insertLink: (url: string, text?: string) => void;
    insertImage: (url: string, alt?: string) => void;
    insertTable: (rows?: number, cols?: number) => void;
    insertCodeBlock: (language?: string) => void;
    setAlignment: (align: "left" | "center" | "right") => void;
    isBoldActive: () => boolean;
    isItalicActive: () => boolean;
    isUnderlineActive: () => boolean;
    isStrikethroughActive: () => boolean;
    isCodeActive: () => boolean;
    isHeadingActive: (level?: 1 | 2 | 3) => boolean;
    isBulletListActive: () => boolean;
    isNumberedListActive: () => boolean;
    isBlockQuoteActive: () => boolean;
    getAlignment: () => "left" | "center" | "right" | null;
};
