2023-05-23 13:17:49 +00:00
|
|
|
export {};
|
2023-10-31 09:52:26 +00:00
|
|
|
import { EventEmitter } from 'events';
|
2023-05-23 13:17:49 +00:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
const hh: {
|
2023-10-31 09:52:26 +00:00
|
|
|
emitter: EventEmitter;
|
2023-05-23 13:17:49 +00:00
|
|
|
constants: Record<string, string> & { categories: Record<string, string> };
|
2023-07-06 16:56:25 +00:00
|
|
|
// 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>;
|
2023-05-23 13:17:49 +00:00
|
|
|
};
|
2023-10-31 11:40:38 +00:00
|
|
|
|
|
|
|
const wreq: (module: string) => any;
|
2023-05-23 13:17:49 +00:00
|
|
|
}
|