/** * Converts a string to title case. * * @param text - The input string. * @returns The string converted to title case. */ declare function titleCase(text: string): string; /** * Generates a random string based on the provided seed, length, and character set. * * @param seed - The seed value used for generating the random string. * @param length - The length of the random string to be generated. * @param charSet - The character set from which the random string will be composed. * @returns The randomly generated string. */ declare function generateRandomString(seed: string, length: number, charSet: string): string; /** * Generate a full name by combining first name and last name. * * @param firstName - The first name (optional). * @param lastName - The last name (optional). * @returns The full name as a string. */ declare function fullName(firstName?: string, lastName?: string): string; /** * Trims leading and trailing whitespace from a string. * * @param text - The string to trim. * @returns The trimmed string, or `null` if the input string is empty or `null`. */ declare function trimString(text?: string): string; /** * Checks if the given data is a valid JSON string. * * @param data - The data to be checked. * @returns A boolean indicating whether the data is a valid JSON string. */ declare function isJSON(data: any): boolean; /** * Checks if a value is a string. * * @param value - The value to check. * @returns Returns `true` if the value is a string, `false` otherwise. */ declare function isString(value: any): boolean; /** * Determines whether the provided value is a string and is empty. * * @param value - The value to check. * @returns `true` if the value is a string and is empty (`''`), otherwise `false`. * * @remarks * This function first checks if the value is a string using `isString`, and then verifies that it is an empty string. * * @example * ```typescript * isEmptyString(""); // true * isEmptyString("hello"); // false * isEmptyString(null); // false * ``` */ declare function isEmptyString(value: any): boolean; export { fullName, generateRandomString, isJSON, isString, titleCase, trimString, isEmptyString };