import { Editor } from '@tiptap/react';
interface IBEditorTableCommandState {
    canCaption: boolean;
    canCopy: boolean;
    canCut: boolean;
    canDeleteColumn: boolean;
    canDeleteRow: boolean;
    canDeleteTable: boolean;
    canInsertColumn: boolean;
    canInsertRow: boolean;
    canMerge: boolean;
    canSetCellStyle: boolean;
    canSplit: boolean;
    canSwitchWidth: boolean;
    currentBackgroundColor: string;
    currentBorderColor: string;
    currentBorderColors: Record<TBEditorTableCommandBorderSide, string>;
    hasCaption: boolean;
    isContiguousSelection: boolean;
    isSingleTableSelection: boolean;
    selectedCellCount: number;
}
export type TBEditorTableCommandBorderSide = 'bottom' | 'left' | 'right' | 'top';
export declare function canMergeBEditorTableCommandCells(editor: Editor | null | undefined, cells: HTMLTableCellElement[]): boolean;
export declare function readBEditorTableCommandState(editor: Editor | null | undefined, rememberedCells?: HTMLTableCellElement[]): IBEditorTableCommandState;
export {};
