export type EncryptionMethod = 'sha1' | 'sha224' | 'sha256' | 'sha384' | 'sha512'; export declare const hashConfigs: { [key in EncryptionMethod]: { lengthHex: number; lengthBase64: number; }; }; export declare const DigestTypes: readonly ["hex", "base64"]; export type DigestType = typeof DigestTypes[number]; type CleaningFunction = (value: string) => string; export declare function createHash(value: string, encryptionMethod?: EncryptionMethod, digest?: DigestType): Promise; export declare function processHashing(value: string, encryptionMethod: EncryptionMethod, digest: DigestType, cleaningFunction?: CleaningFunction): Promise; export declare function smartHash(value: string, normalizeFunction?: (value: string) => string): Promise; export declare function normalizeEmail(email: string): string; export {};