import { Paragraph, Table } from 'docx'; import { type DocxOptions } from '../option'; import { type TableNode } from '../types'; export interface TableContext { options: DocxOptions['table']; /** Column widths from table.attrs.cols (digit-editor) */ colWidths?: number[]; } /** * Convert TipTap table node to DOCX Table * * @param node - TipTap table node * @param options - Table options from PropertiesOptions * @returns Array containing Table and a following Paragraph to prevent merging */ export declare function convertTable(node: TableNode, options: DocxOptions['table']): Promise>;