//#region src/hash.d.ts /** * @param str - The string to hash. * @returns The hash of the string. */ declare function murmur2(str: string): string; /** * Hashes a string with the MurmurHash3 x86 32-bit algorithm and returns a * base-36 string. * * @param str - The string to hash. * @returns The hash of the string in base-36 format. */ declare function murmur3(str: string): string; /** * Hashes a string with the MurmurHash3 x86 32-bit algorithm and returns a * base-36 string. * * @param str - The string to hash. * @param output - The output format. * @returns The hash of the string in base-36 format. */ declare function murmur3(str: string, output: 'base36'): string; /** * Hashes a string with the MurmurHash3 x86 32-bit algorithm and returns an * unsigned 32-bit integer. * * @param str - The string to hash. * @param output - The output format. * @returns The hash of the string as an unsigned 32-bit integer. */ declare function murmur3(str: string, output: 'uint32'): number; //#endregion export { murmur2, murmur3 };