export type Hasher = (input: string) => any; export function identify(input: T, hasher: H): ReturnType;