/** * Converts a string to title case. * @param str - The string to convert. * @returns The string in title case. */ export declare function toTitleCase(str: string): string; /** * Capitalizes the first letter of each word in a string. * @param str - The string to capitalize. * @returns The string with each word capitalized. */ export declare function capitalizeWords(str: string): string; /** * Trims excessive whitespace and leading/trailing spaces from a string. * @param str - The string to trim. * @returns The trimmed string. */ export declare function trimText(str: string): string; /** * Capitalizes the first letter of a string. * @param str - The string to capitalize. * @returns The string with the first letter capitalized. */ export declare function capitalizeFirstLetter(str: string): string; /** * Counts the number of words in a string. * @param str - The string to count words in. * @returns The number of words. */ export declare function countWords(str: string): number; /** * Removes special characters from a string. * @param str - The string to clean. * @returns The cleaned string. */ export declare function removeSpecialChars(str: string): string; /** * Converts a string to snake_case. * @param str - The string to convert. * @returns The string in snake_case. */ export declare function toSnakeCase(str: string): string; /** * Converts a string to kebab-case. * @param str - The string to convert. * @returns The string in kebab-case. */ export declare function toKebabCase(str: string): string; /** * Repeats a string a specified number of times. * @param str - The string to repeat. * @param times - The number of times to repeat. * @returns The repeated string. */ export declare function repeatString(str: string, times: number): string; /** * Checks if a string is a palindrome. * @param str - The string to check. * @returns True if the string is a palindrome, false otherwise. */ export declare function isPalindrome(str: string): boolean;