/** * Cleans a string by removing all new line characters. * @param outStr Output string. */ export declare function cleanOutString(outStr: string): string; /** * * @param columnSizes Size of each column in the table * @param separator character for a separator * @returns A separator for table lines */ export declare function lineSeparator(columnSizes: number[], separator: string): string; /** * Replaces all special characters like \n, \r, \t, with an equivalent that can be displayed on a single line. * Also trims line breaks at the end of the string. * @param outStr Output string. */ export declare function cleanSpecialChars(outStr: string): string; /** * Cleans a string with `cleanSpecialChars` and truncates it to `maxLength` characters, * appending "..." when truncation occurs. Returns an empty string for null/undefined/empty input. * @param value String to clean and truncate. * @param maxLength Maximum length of the returned string (including the "..." suffix when truncated). */ export declare function cleanAndTruncate(value: string | null | undefined, maxLength: number): string; /** * Return a float as a string with at least 2 levels of precision. */ export declare function floatToString(value: number | null): string;