export {}; import { EventEmitter } from 'events'; declare global { const hh: { emitter: EventEmitter; constants: Record & { categories: Record }; // TODO: Maybe turn this into something that, based on the moduleName, can // fetch an ext's actual config type and return that instead. getModuleOptions: (moduleName: string) => Record; }; const wreq: (module: string) => any; }