export declare const calculateHash: (str: string, previousHash: string | null, algorithm?: string) => string;