UNPKG

dop-stick

Version:

Source control tooling for versionable-upgradeable smart contracts

23 lines 631 B
import { Terminal } from './terminal'; export interface TableColumn { header: string; width: number; align?: 'left' | 'center' | 'right'; } export interface TableOptions { padding?: number; borderColor?: keyof typeof Terminal.colors; headerColor?: keyof typeof Terminal.colors; } export declare class Table { private columns; private data; private options; constructor(columns: TableColumn[], data: string[][], options?: TableOptions); render(): void; private renderBorder; private renderHeaders; private renderRows; private padText; } //# sourceMappingURL=table.d.ts.map