/** * Returns the same string is kebab-case form. Returned string is guaranteed to * only contain a-z, numbers, and dashes. All other symbols such as dollar * signs and accented characters will be removed (for better or for worse). * @param text The string to convert. */ export declare function kebabify(text: string): string; /** * Returns the same string in CONST_CASE form. Returned string is guaranteed to * only contain A-Z, numbers, and underscores. All other symbols such as dollar * signs and accented characters will be removed (for better or for worse). * @param input The string to convert. */ export declare function constify(text: string): string; /** * Creates a list with the specified things, joining them with the provided * separators. Returns an empty string if there's no items. * @param list The list of things. * @param normalSeparator The separator to use the normal case. * @param finalSeparator The separator to use for the final item. * @param pairSeparator The separator to use if there's only 2 items. */ export declare function listify(list: string[], normalSeparator: string, finalSeparator: string, pairSeparator: string): string; /** * Creates a list with the specified things, joining them with the word "and", * e.g. "A, B, and C". Returns an empty string if there's no items. * @param list The list of things. */ export declare function listifyAnd(list: string[]): string; /** * Creates a list with the specified things, joining them with the word "or", * e.g. "A, B, or C". Returns an empty string if there's no items. * @param list The list of things. */ export declare function listifyOr(list: string[]): string; /** * Returns true if the string is non-null, non-undefined, and has length > 0. * @param str The string to check. */ export declare function isPresent(str: string | null | undefined): str is string; /** * Sorts two strings in such a way that "item1" < "item 2" < "item10". * @param a String 1. * @param b String 2. */ export declare function numberWiseSort(a: string, b: string): number;