import { TableExtension } from "../../models"; declare module "@tiptap/core" { interface Commands { Table: { /** * Add a row at the end of the table * @returns True if the command was successful, otherwise false * @example editor.commands.addRowToEnd() */ addRowToEnd: () => ReturnType; /** * Add a column at the end of the table * @returns True if the command was successful, otherwise false * @example editor.commands.addColumnToEnd() */ addColumnToEnd: () => ReturnType; /** * Move the selected row up or down * @returns True if the command was successful, otherwise false * @example editor.commands.moveRow("up") */ moveRow: (direction: "up" | "down") => ReturnType; /** * Move the selected column left or right * @returns True if the command was successful, otherwise false * @example editor.commands.moveColumn("left") */ moveColumn: (direction: "left" | "right") => ReturnType; }; } } export declare const Table: TableExtension;