import { Editor } from '@tiptap/react';
export type TBEditorTableBorderSide = 'bottom' | 'left' | 'right' | 'top';
export type TBEditorTableBorderColorMap = Record<TBEditorTableBorderSide, string | null>;
export type TBEditorTableBorderColorPatch = Partial<Record<TBEditorTableBorderSide, string | null>>;
export type TBEditorTableBorderTarget = 'all' | TBEditorTableBorderSide;
export declare const BEDITOR_TABLE_COLORS: string[];
export declare function applyBEditorSelectedCellBackground(editor: Editor, color: string | null): boolean;
export declare function applyBEditorSelectedCellBorder(editor: Editor, color: string | null, target?: TBEditorTableBorderTarget | readonly TBEditorTableBorderSide[]): boolean;
export declare function applyBEditorSelectedCellBorderColors(editor: Editor, colors: TBEditorTableBorderColorMap): boolean;
export declare function applyBEditorSelectedCellBorderColorPatch(editor: Editor, colors: TBEditorTableBorderColorPatch): boolean;
