/**
 * Shared table formatting utilities for CLI output.
 *
 * Pure data → formatted string transforms. No I/O — callers handle printing.
 */
export interface ColumnDef {
    header: string;
    width: number;
    align?: 'left' | 'right';
}
export interface FormatTableOpts {
    columns: ColumnDef[];
    rows: string[][];
    indent?: number;
}
/**
 * Format a table with aligned columns.
 */
export declare function formatTable({ columns, rows, indent }: FormatTableOpts): string;
/**
 * Truncate a string from the end, appending '\u2026' if truncated.
 */
export declare function truncEnd(str: string, maxLen: number): string;
//# sourceMappingURL=table.d.ts.map