import { Exception } from '@/data-helpers/Exception'; import { KeyType, NonNullPrimitive, ValueObjectType } from '@/utils/types'; export interface HashFunctionConfig { [key: KeyType]: NonNullPrimitive | ValueObjectType | undefined; } export interface HashFunction { hash(payload: Input, config?: HashFunctionConfig): Output; } export declare class InvalidPayloadProvidedToHashFunctionException extends Exception { constructor(value: string); }