/** Columns the text takes in a terminal (escapes take none). */ export declare function visibleWidth(text: string): number; /** The text cut to `width` columns, `ellipsis` at the end when it was cut (plain text). */ export declare function truncateToWidth(text: string, width: number, ellipsis?: string): string;