/** * Represents a class that applies a hash function to data. * */ export declare class Hasher { private readonly _hasher; /** * Creates a Hasher instance with the specified hash function and salt. * @param {string} hasherMethod - The name of the hash function to use. * @param {Iterable|undefined} [salt] - The optional salt to use in the hash function. */ constructor(hasherMethod: string, salt?: string | Iterable | undefined); /** * Applies the hash function to the specified elements and returns the resulting hash value. * @param {string|Iterable} data - The elements to apply the hash function to. * @returns {string} The resulting hash value as a string. */ apply(data: string | Iterable): string | Uint8Array; } //# sourceMappingURL=hash.d.ts.map