import { type Command } from 'prosekit/pm/state'; /** * Insert a table node with the given number of rows and columns, and optionally * a header row. * * @public */ export declare function insertTable({ row, col, header, }: { row: number; col: number; header: boolean; }): Command; /** * When the selection is in a table node, create a default block after the table * table, and move the cursor there. * * @public */ export declare const exitTable: Command; /** * Adds commands for working with `table` nodes. * * @public */ export declare function defineTableCommands(): import("@prosekit/core").Extension<{ Commands: { insertTable: [{ row: number; col: number; header: boolean; }]; exitTable: []; }; Nodes: never; Marks: never; }>;