/** * Generates a 32-bit hash of the given value. * * The hash includes the value's `typeof` so distinct falsy primitives don't * collide (`0` ≠ `false` ≠ `null` ≠ `undefined` ≠ `''`). Values that * `JSON.stringify` can't represent (functions, symbols, plain `undefined`) are * still distinguished from one another via their `typeof` tag. */ export declare function hashCode(value: unknown): number; /** * Generates v4 [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). * * Uses `crypto.randomUUID()` when available (modern Node, browsers, workers) for * cryptographically strong randomness. Falls back to a `Math.random()`-based * implementation in environments without it. * * @example * ``` * generateUUID() * // '8e07ef4a-0d1f-45c2-b06b-9495e869b299' * ``` **/ export declare function generateUUID(): string; /** * Decodes [Base64](https://en.wikipedia.org/wiki/Base64) encoded value. * * Uses `Buffer` (Node) or `atob` (browsers) when available, falling back to a * portable JS implementation. */ export declare function base64Decode(input: string): string; /** * Encodes given value with [Base64](https://en.wikipedia.org/wiki/Base64) algorithm. * * Uses `Buffer` (Node) or `btoa` (browsers) when available, falling back to a * portable JS implementation. */ export declare function base64Encode(input: string): string;