/**
 * Returns the number of *cells* that the first character of the string takes up.
 *
 * "Cell" refers to a terminal space: ASCII characters take 1 cell, Emoji and Asian
 * characters take 2 cells. ANSI codes (\x1b[...) return 0.
 *
 * This code came straight from blessed, and includes snippets from
 * https://github.com/vangie/east-asian-width and
 * https://github.com/komagata/eastasianwidth (last updated ~2015)
 *
 * Note: does not check to make sure 'str' is only one character
 */
export function charWidth(str: any): number;
export function stringSize(str: any, maxWidth: any): any;
export function lineWidth(str: any): number;
export function getLocale(): string;
export function setLocale(value: any): void;
export function words(input: any): (number | any[])[][];
export function printableChars(str: any): any[];
export function ansiLocations(input: any, includeLast: any): {
    start: any;
    stop: any;
    ansi: any;
}[];
export function removeAnsi(input: any): any;
