/** * Truncates a string to a specified length and adds an ellipsis if truncated */ export declare function truncate(str: string, length: number): string; /** * Converts a string to title case */ export declare function toTitleCase(str: string): string; /** * Removes all whitespace from a string */ export declare function removeWhitespace(str: string): string; /** * Converts a string to kebab case */ export declare function toKebabCase(str: string): string; /** * Checks if a string is a valid email address */ export declare function isValidEmail(email: string): boolean; /** * Generates a random string of specified length */ export declare function generateRandomString(length: number): string;