15 lines
448 B
TypeScript
15 lines
448 B
TypeScript
export {};
|
|
import { EventEmitter } from 'events';
|
|
|
|
declare global {
|
|
const hh: {
|
|
emitter: EventEmitter;
|
|
constants: Record<string, string> & { categories: Record<string, string> };
|
|
// 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<string, any>;
|
|
};
|
|
|
|
const wreq: (module: string) => any;
|
|
}
|