export declare function buildDeterministicSeed(...parts: Array): string; export declare function hashStringToUint32(value: string): number; /** Produce the compact non-cryptographic fingerprint used for trace keys. */ export declare function shortStringHash(value: string): string; export declare function createDeterministicRandom(seed: string | number): () => number; export declare function deterministicShuffle(items: readonly T[], seed: string | number): T[]; export declare function deterministicSample(items: readonly T[], count: number, seed: string | number): T[]; export declare function deterministicPick(items: readonly T[], seed: string | number): T | undefined; export declare function getDeterministicNames(count: number, seed: string | number): string[]; export declare function stableStringify(value: unknown): string; /** * Deterministic, non-cryptographic string hash. Multiplies by 31 per character * (the classic JVM `String.hashCode` mixing), keeps the running value in int32 * via `| 0`, and returns a non-negative number. * * Used by the hero-art generators to seed palettes/hues/offsets so the same * input always produces byte-identical SVG output across runs and platforms. * Not suitable for security or collision-sensitive use. */ export declare function hashArtworkSeed(value: string): number;