import type { Command } from "../../../../../../pm/state.js"; import { TableDesc } from "../../../../../../table-utils/table-desc.js"; export type ToggleHeaderRowsParams = { tablePos: number; value: number; }; export declare const toggleHeaderRows: (params: ToggleHeaderRowsParams) => Command; /** * Returns true if the row at `rowIdx` can be made a header row. * Row 0 is always eligible (to set headerRows from 0 to 1). * A subsequent row is eligible only if it's "visually glued" to the current header * block — i.e. it contains a virtual cell produced by a real cell that starts within * the existing header rows (rowspan crosses the header/body boundary). */ export declare function canMakeRowHeader(tableDesc: TableDesc, rowIdx: number): boolean;