import { Extension, Command } from '@tiptap/core'; import { Transaction } from '@tiptap/pm/state'; export type TableCellBackgroundOptions = { HTMLAttributes: Record; types?: any; }; declare module '@tiptap/core' { interface Commands { tableCellBackground: { setTableCellBackground: (color: string) => ReturnType; unsetTableCellBackground: () => ReturnType; }; } } export declare const setCellBackgroundMarkup: (tr: Transaction, pos: number, backgroundColor: string) => Transaction; export declare const updateCellBackground: (tr: Transaction, options: TableCellBackgroundOptions, backgroundColor: string) => Transaction; export declare const createCellBackgroundCommand: (backgroundColor: string, options: TableCellBackgroundOptions) => Command; export declare const TableCellBackground: Extension;