TypeScript definitions for herlock