/** * Universal random bytes implementation * Uses Web Crypto API in browser, Node.js crypto in Node.js */ /** * Get random bytes using the best available method for the environment * In browser: uses Web Crypto API (crypto.getRandomValues) * In Node.js: uses Node.js crypto.randomBytes * @param size Number of bytes to generate * @returns Buffer with random bytes */ export declare function randomBytes(size: number): Buffer;