2025-04-29 14:22:40 +01:00

32 lines
804 B
TypeScript

import { RowData } from '../typings/index.js';
export declare class Row {
/**
* The data to insert for each column
*/
private readonly columns;
/**
* The starting indexes of each column
*/
private readonly indexes;
/**
* Whether or not to include the Whitespace character (\u200b) in spacing (not required if using backticks for the start and end)
*/
private whiteSpace;
/**
* Create a new Row to be inserted into a table
* @param {RowData} options
*/
constructor(options: RowData);
/**
* Convert the row into a string
* @returns {string}
*/
toString(): string;
/**
* Adds the proper spacing to the data in the row
* @param {number} i
* @returns {string}
*/
private padRow;
}