/** * Table builder functions for DOCX documents. * * Includes border, gridBorders, cell, row, table, simpleTable. */ import type { Border, Table, TableRow, TableCell, TableProperties, TableRowProperties, TableCellProperties, TableBorders, TableWidth, Paragraph, Twips } from "../types.js"; /** Shorthand border. */ export declare function border(style?: Border["style"], size?: number, color?: string): Border; /** Create standard grid borders for a table. */ export declare function gridBorders(size?: number, color?: string): TableBorders; /** Create a table cell. */ export declare function cell(content: string | (Paragraph | Table)[], properties?: TableCellProperties): TableCell; /** Create a table row. */ export declare function row(cells: TableCell[], properties?: TableRowProperties): TableRow; /** Create a table. */ export declare function table(rows: TableRow[], properties?: TableProperties, columnWidths?: Twips[]): Table; /** Create a simple table from a 2D string array. */ export declare function simpleTable(data: string[][], options?: { headerRow?: boolean; borders?: boolean; width?: TableWidth; columnWidths?: Twips[]; }): Table;