import { HashAlgorithm, SaltStrategy } from "../types.mjs"; /** * Builds the string that we will hash to get the next hash alphabet. * * @example * if we're prepending every hash, and this is the initial hash, * then we'll return `salt + secret`. * * @returns the string we're going to hash to get the next alphabet */ export declare function getPreHash({ secret, prevHash, salt, saltStrategy, }: { secret?: string; prevHash?: string; salt: string; saltStrategy: SaltStrategy; }): string; export declare function execRound_getNextHash({ secret, prevHash, count, salt, saltStrategy, hashAlgorithm, }: { secret?: string; prevHash?: string; count: number; salt: string; saltStrategy: SaltStrategy; hashAlgorithm: HashAlgorithm; }): Promise; /** * Creates the first "alphabet" that we will index into. * * We have this separate, because the initialRecursions help us * chug on the secret. * * If the data's hex character is not in this alphabet, it will * be expanded just as any */ export declare function doInitialRecursions_keystretch({ secret, initialRecursions, salt, saltStrategy, hashAlgorithm, }: { secret: string; initialRecursions: number; salt: string; saltStrategy: SaltStrategy; hashAlgorithm: HashAlgorithm; }): Promise; //# sourceMappingURL=encrypt-decrypt-common.d.mts.map