/** * @file Cell padding + display-width measurement — shared helpers used by both * the simple and bordered table renderers. `displayWidth` routes through * `stringWidth` so multi-cell glyphs (full-width CJK, emoji, combined code * points) contribute their actual terminal column count rather than a naive * `.length`. */ import type { ColumnAlignment } from './types.js'; /** * Calculate display width accounting for ANSI codes, CJK, and emoji. Uses * `stringWidth` so multi-cell glyphs (full-width CJK, emoji, combined code * points) contribute their actual terminal column count to padding. */ export declare function displayWidth(text: string): number; /** * Pad text to specified width with alignment. */ export declare function padText(text: string, width: number, align?: ColumnAlignment): string;