/** The width of the widest value, for laying a column out. */ export declare function widestOf(values: string[]): number; /** * One fixed-width cell, optionally painted. * * Padding is computed from the UNSTYLED text: escape codes have no width on * screen but do count towards `padEnd`, so painting and padding cannot be two * separate steps without every call site remembering the order. */ export declare function cell(text: string, width: number, paint?: (value: string) => string): string; /** * Greedy wrap on spaces. A word longer than the width keeps its own line rather * than being cut, since the long tokens here are identifiers worth reading whole. */ export declare function wrap(text: string, width: number): string[]; //# sourceMappingURL=text.d.ts.map