import { type ElementNode } from '../../schema/index.js'; import { type Selection } from '../../caret/index.js'; import type { Wing } from '../../wing/index.js'; import { type GridBox, type GridCell, type TableGrid } from './grid.js'; export declare const TH = "th"; export declare const SORTABLE = "sort"; export declare function repairCell(cell: ElementNode): ElementNode; export declare function repairTable(table: ElementNode): ElementNode; export declare function selectionBox(doc: readonly ElementNode[], sel: Selection): { readonly tablePath: readonly number[]; readonly box: GridBox; readonly cells: readonly GridCell[]; } | null; export declare function headerLineOf(ctx: { readonly grid: TableGrid; readonly cell: GridCell; }, axis: 'row' | 'column'): boolean; export declare const tableWing: Wing; //# sourceMappingURL=table.d.ts.map