import type { Selection, Transaction, Node, ResolvedPos } from '../../tiptap/pm.ts'; import { CellSelection } from '../../tiptap/pm.ts'; export declare const isRectSelected: (rect: any) => (selection: CellSelection) => boolean; export declare const findTable: (selection: Selection) => { pos: number; start: number; depth: number; node: Node; } | undefined; export declare const isCellSelection: (selection: any) => boolean; export declare const isColumnSelected: (columnIndex: number) => (selection: any) => boolean; export declare const isRowSelected: (rowIndex: number) => (selection: any) => boolean; export declare const isTableSelected: (selection: any) => boolean; export declare const getCellsInColumn: (columnIndex: number | number[]) => (selection: Selection) => { pos: number; start: number; node: Node | null | undefined; }[] | null; export declare const getCellsInRow: (rowIndex: number | number[]) => (selection: Selection) => { pos: number; start: number; node: Node | null | undefined; }[] | null; export declare const getCellsInTable: (selection: Selection) => { pos: number; start: number; node: Node | null; }[] | null; export declare const findParentNodeClosestToPos: ($pos: ResolvedPos, predicate: (node: Node) => boolean) => { pos: number; start: number; depth: number; node: Node; } | null; export declare const findCellClosestToPos: ($pos: ResolvedPos) => { pos: number; start: number; depth: number; node: Node; } | null; export declare const selectColumn: (index: number) => (tr: Transaction) => Transaction; export declare const selectRow: (index: number) => (tr: Transaction) => Transaction; export declare const selectTable: (tr: Transaction) => Transaction;