declare type PubKey = string; declare type ETHAddressHex = string; declare type ETHAddressBuff = Buffer; declare module 'ethereumjs-util' { const toBuffer: (data: string) => Buffer; const hashPersonalMessage: (msg: Buffer) => Buffer; const bufferToHex: (buff: Buffer) => string; const ecrecover: (msgHashBuff: Buffer, v: number, r: Buffer, s: Buffer) => PubKey; const pubToAddress: (pubKey: PubKey) => ETHAddressBuff; }