import { TableRow } from 'docx'; import { type DocxOptions } from '../option'; import { type DigitTableRowNode, type TableRowNode } from '../types'; import { type TableContext } from './table'; /** * Convert TipTap table row node to DOCX TableRow * * @param node - TipTap table row node (standard 'tableRow' or digit-editor 'table_row') * @param ctxOrOptions - Table context with colWidths, or legacy options * @param rowMergeMap - Map of columnIndex → remaining rowspan from previous rows * @returns DOCX TableRow object */ export declare function convertTableRow(node: TableRowNode | DigitTableRowNode, ctxOrOptions: TableContext | DocxOptions['table'], rowMergeMap?: Map): Promise;