import type { Editor } from "@tiptap/core"; import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import type { Selection } from "@tiptap/pm/state"; interface NodePos { pos: number; start: number; node: ProseMirrorNode | null | undefined; } export declare function getCellsInColumn(columnIndex: number | number[]): (selection: Selection) => NodePos[] | null; export declare function getCellsInRow(rowIndex: number | number[]): (selection: Selection) => NodePos[] | null; /** Finds the table handle element for the given type and element. */ export declare function findTableHandleElement(args: { type: "row" | "column"; element: Element; }): Element; /** Creates a table handle element for the given type. */ export declare function createTableHandleElement(args: { type: "row" | "column"; editor: Editor; index: number; }): HTMLButtonElement; export {};