/** * Replace tab characters with spaces aligned to tab stops. */ export declare function expandTabs(str: string, tabSize?: number): string; /** * Get the visual display width of a string. * Handles CJK characters (width 2), emoji, ANSI escape codes, tabs, etc. */ export declare function visualWidth(str: string): number; /** * Pad a string on the right to reach a target visual width. * Unlike String.padEnd, this accounts for wide characters. */ export declare function visualPadEnd(str: string, targetWidth: number, fillChar?: string): string; /** * Pad a string on the left to reach a target visual width. */ export declare function visualPadStart(str: string, targetWidth: number, fillChar?: string): string; //# sourceMappingURL=measure.d.ts.map