export declare function formatFloat(value: number, decimalPlaces: number): string; /** * Take a string in camelCase, PascalCase, snake_case or UPPER_SNAKE_CASE and return a list of lowercase words */ export declare function splitWords(str: string): string[]; /** * Will truncate the string to the desired length, adding an ellipsis (...) if needed * ASE ❤ 2019 */ export declare function truncate(s: string, length?: number): string; export declare function toUpperFirstLetter(str: string): string; export declare function toLowerFirstLetter(str: string): string; export declare function toLowerCamel(str: string): string; export declare function toUpperCamel(str: string): string; export declare function toLowerSnakeCase(str: string): string; export declare function toUpperSnakeCase(str: string): string; /** * example_text -> Example Text */ export declare function toDisplay(str: string): string; /** * @param str * @see https://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript */ export declare function numberWithCommas(str: string): string;