declare module "dovehash" {
    function encode(algo: string, text: string): string;
}