/** * Generates a UUID (Universally Unique Identifier). * @returns A UUID string. */ export declare function generateUUID(): string; /** * Generates a unique username based on a full name and email. * @param fullName - The user's full name. * @param email - The user's email. * @returns A unique username. */ export declare function generateUniqueUsername(fullName: string, email: string): string; /** * Generates a slug from a title and an optional author. * @param title - The title to slugify. * @param author - The author of the title, defaults to 'guest'. * @returns A slug string. */ export declare function slugify(title: string, author?: string): string; /** * Generates a unique filename by combining a base name with a unique identifier. * @param baseName - The base name of the file. * @returns A unique filename string. */ export declare function generateUniqueFilename(baseName: string): string; /** * Generates a unique token using a combination of random values and timestamp. * @returns A unique token string. */ export declare function generateToken(): string; /** * Checks if all elements in an array are unique. * @param array - The array to check. * @returns True if all elements are unique, false otherwise. */ export declare function hasUniqueElements(array: any[]): boolean;