import type { ContentModelTableFormat, IEditor, TableMetadataFormat, ContentModelTableCellFormat } from 'roosterjs-content-model-types'; /** * Insert table into editor at current selection * @param editor The editor instance * @param columns Number of columns in table, it also controls the default table cell width: * if columns <= 4, width = 120px; if columns <= 6, width = 100px; else width = 70px * @param rows Number of rows in table * @param tableMetadataFormat (Optional) The table format that are stored as metadata. If not passed, the default format will be applied: background color: #FFF; border color: #ABABAB * @param format (Optional) The table format used for style attributes * @param cellFormat (Optional) custom format for table cells, except for borders styles, for borders use tableMetadataFormat */ export declare function insertTable(editor: IEditor, columns: number, rows: number, tableMetadataFormat?: Partial, format?: ContentModelTableFormat, customCellFormat?: ContentModelTableCellFormat): void;