/** * `tenx_hash` — the portable pattern-identity hash. * * Byte-for-byte reproduction of the engine's PatternHashEncoder * (l1x-inc/util/.../hashing/PatternHashEncoder.java). Contract, locked: * * xxHash64 (seed 0, == net.openhft zero-allocation-hashing LongHashFunction.xx()) * over the UTF-8 bytes -> 64-bit result serialized big-endian (8 bytes) * -> base64url (RFC 4648) without padding -> always 11 chars. * * Zero dependency on purpose: a hand-rolled XXH64 vetted by the shared * conformance vectors (test/pattern-hash-vectors.json, identical to the * engine's JUnit fixture) is more defensible than trusting an npm xxhash * port's edge cases, and it can never silently drift from the engine — * a mismatch fails the conformance test on both sides. * * Do NOT change the algorithm, byte order, or encoding. Every deployed * tenx_hash filter in a customer SIEM/forwarder, the engine, and this * code must all agree forever. */ /** * Compute the `tenx_hash` value for a pattern / symbol-sequence string. * Returns the 11-char base64url identifier the engine would emit for the * same string. */ export declare function tenxHash(value: string): string;