export declare function stripAnsi(text: string): string; export declare function visibleWidth(text: string): number; export type Align = 'left' | 'right'; export interface Column { header: string; align?: Align; } /** * Render a compact, box-drawing table. Cell strings may contain chalk colours; * widths are computed from their visible (ANSI-stripped) length. */ export declare function renderTable(columns: Column[], rows: string[][]): string; /** * Render a horizontal bar for a value relative to a max, e.g. `████████░░`. * `paint` colours the filled portion. */ export declare function bar(value: number, max: number, width?: number, paint?: (s: string) => string): string; //# sourceMappingURL=table.d.ts.map