import { TableInfo } from '../interfaces/table.interface'; import * as i0 from "@angular/core"; /** * TableService service provides methods and functionality for tabular content creation. * 1) Creates a table. * 2) Updates a table. * 3) Table can be used in content editor. */ export declare class TableService { private document; constructor(document: Document); /** * Creates specified number of Empty initialized Table cells * @param count number of cells * @returns Empty initialized Table Cells */ private getCells; /** * Gets a Table row with initialized cells * 1) Merges existing cells * 2) removes extra cells, if needed * 3) adds empty initialized additional cells, if needed * @param row TableRow, if null, creates a new row self initialized cells * @param cellCount Number of cells in the row * @returns TableRow */ private getRowWithCells; /** * Returns a new Table having provided number of rows and columns, and with sample data in cells. * @param rowCount Number of rows for the table * @param columnCount Number of columns for the table * @param tableInfo TableInfo - existing table, if updates needed. Provide null if new table is needed. * @returns Updated TableInfo (Table structure) */ getTable(rowCount?: number, columnCount?: number, tableInfo?: TableInfo): TableInfo; getTableInfoFromMarkup(tableMarkUp: string): TableInfo; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }