import type { Node as ProseMirrorNode } from '../../tiptap/pm/model';
type TableCellStylePreview = {
    cellDecorations: {
        from: number;
        to: number;
        className?: string;
        style?: string;
    }[];
    /**
     * CSS variables set on the editor root while the preview is active. Only the
     * names listed in `PREVIEW_ROOT_STYLE_NAMES` below are honoured; everything
     * else is ignored.
     */
    rootStyle?: Record<string, string>;
};
declare module '../../tiptap/core/index' {
    interface Commands<ReturnType> {
        table: {
            /**
             * delete table in selection
             */
            deleteTable: () => ReturnType;
            setCellBorderColor: (color: string | undefined) => ReturnType;
            setOutsiderCellsBorderColor: (color: string | undefined) => ReturnType;
            setCellBorderWidth: (width: number) => ReturnType;
            setOutsiderCellsBorderWidth: (width: number) => ReturnType;
            setCellBorderColorBySide: (side: 'top' | 'right' | 'bottom' | 'left', color: string | undefined) => ReturnType;
            setCellBorderWidthBySide: (side: 'top' | 'right' | 'bottom' | 'left', width: number) => ReturnType;
            setInnerHorizontalCellsBorderColor: (color: string | undefined) => ReturnType;
            setInnerHorizontalCellsBorderWidth: (width: number) => ReturnType;
            setInnerVerticalCellsBorderColor: (color: string | undefined) => ReturnType;
            setInnerVerticalCellsBorderWidth: (width: number) => ReturnType;
            setCellSpacing: (spacing: number) => ReturnType;
            setCellPadding: (padding: number | number[]) => ReturnType;
            setCellAttribute: (name: string, value: unknown) => ReturnType;
            updateCellAttribute: (name: string, value: unknown) => ReturnType;
            toggleTableAttribute: (name: string) => ReturnType;
            addColumnBefore: () => ReturnType;
            addColumnAfter: () => ReturnType;
            deleteColumn: () => ReturnType;
            addRowBefore: () => ReturnType;
            addRowAfter: () => ReturnType;
            addRowAtIndex: (index: number) => ReturnType;
            deleteRow: () => ReturnType;
            mergeCells: () => ReturnType;
            splitCell: () => ReturnType;
            toggleHeaderColumn: () => ReturnType;
            toggleHeaderRow: () => ReturnType;
            mergeOrSplit: () => ReturnType;
            goToNextCell: () => ReturnType;
            goToPreviousCell: () => ReturnType;
            fixTables: () => ReturnType;
            setCellSelection: (pos: number) => ReturnType;
            selectColumnAtIndex: (index: number) => ReturnType;
            selectColumn: () => ReturnType;
            deleteColumnAtIndex: (index: number) => ReturnType;
            addColumnAtIndex: (index: number) => ReturnType;
            selectRowAtIndex: (index: number) => ReturnType;
            selectRow: () => ReturnType;
            deleteRowAtIndex: (index: number) => ReturnType;
            selectWholeTable: () => ReturnType;
            setTableRowHeight: (height: number, pos: number, node: ProseMirrorNode) => ReturnType;
            distributeRows: () => ReturnType;
            distributeColumns: () => ReturnType;
            setEditCell: () => ReturnType;
            clearCell: () => ReturnType;
            reorderRows: (from: {
                start: number;
                end: number;
            }, to: number) => ReturnType;
            reorderColumns: (from: {
                start: number;
                end: number;
            }, to: number) => ReturnType;
            moveColumns: (direction: 'left' | 'right') => ReturnType;
            moveRows: (direction: 'up' | 'down') => ReturnType;
            selectRows: (fromRow: number, toRow: number, tablePos: number) => ReturnType;
            selectColumns: (fromCol: number, toCol: number, tablePos: number) => ReturnType;
            setTableAltText: (text: string) => ReturnType;
            setTableCellStylePreview: (preview: TableCellStylePreview | undefined) => ReturnType;
        };
    }
}
export declare const tableExtension: import("../../ricos-types/tiptap.js").RicosNodeExtension<any, any>;
export {};
//# sourceMappingURL=table-extension.d.ts.map