/** * @copyright Sister Software. * @license AGPL-3.0 * @author Teffen Ellis, et al. */ /** * A value that can be used as input to {@link simpleSHA3}. * * Values are converted to strings via {@link String}, trimmed, and empty values are discarded before hashing. * * @internal */ export type SHA3Seed = string | number | boolean | null | Date | undefined; /** * Input accepted by {@link simpleSHA3}. * * Arrays preserve insertion order. Object inputs are hashed using the order returned by {@link Object.values}. * * @internal */ export type SHA3Input = Record | SHA3Seed[]; /** * Converts hash input into a normalized array of non-empty strings. * * @param input - Seeds to normalize. * * @returns Normalized string values. * @throws {Error} If no non-empty values remain after normalization. * @internal */ export declare function normalizeSHASeeds(input: SHA3Input): string[]; /** * Generates an uppercase SHAKE128 digest from one or more input values. * * Each normalized seed is fed into the hash sequentially. * * @param seeds - Values to hash. * @param outputLength - Length of the digest in **bytes**. Defaults to `32` (256-bit output). * * @returns Uppercase hexadecimal digest. */ export declare function simpleSHA3(seeds: SHA3Input, outputLength?: number): string; //# sourceMappingURL=node.d.ts.map