/** * Generates a random UUID v4 (universally unique identifier). * * @returns A random UUID v4 string in the format xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx. * * @example * randomUUID(); // '550e8400-e29b-41d4-a716-446655440000' * * @example * // Generate multiple UUIDs * const ids = Array.from({ length: 5 }, () => randomUUID()); * * @note Uses Math.random() for generation (NOT cryptographically secure). * * @deprecated Use `crypto.randomUUID()` (Node.js 14.17+) or `generateRandomBytes` from * `@ts-utilkit/crypto` for cryptographically secure UUIDs. This function uses `Math.random()` * which is predictable and unsuitable for security-sensitive identifiers. * Will be removed in the next major version. * * @complexity Time: O(1), Space: O(1) */ export declare function randomUUID(): string; //# sourceMappingURL=randomUUID.d.ts.map