export declare const EncryptionMethods: readonly ["md5", "sha1", "sha224", "sha256", "sha384", "sha512"];
export type EncryptionMethod = typeof EncryptionMethods[number];
export declare const DigestTypes: readonly ["hex", "base64"];
export type DigestType = typeof DigestTypes[number];
type CleaningFunction = (value: string) => string;
export declare class EmptyValueError extends Error {
    constructor(message: string);
}
export declare const hashConfigs: {
    [key in EncryptionMethod]: {
        lengthHex: number;
        lengthBase64: number;
    };
};
export declare function processHashing(value: string, encryptionMethod: EncryptionMethod, digest: DigestType, cleaningFunction?: CleaningFunction): string;
export declare function isAlreadyHashed(value: string, encryptionMethod: EncryptionMethod, digest: DigestType): boolean;
export {};
