UNPKG

471 BTypeScriptView Raw
1/**
2 * The index generators creates a commands laoder that can be lazily
3 * imported.
4 *
5 * Also, a command.json index file is created that has metadata for all
6 * the files. Doing so, speeds up the commands lookup, as we do not
7 * have to import all the classes just to find if a command exists
8 * or not.
9 */
10export declare class IndexGenerator {
11 #private;
12 constructor(commandsDir: string);
13 /**
14 * Generate index
15 */
16 generate(): Promise<any>;
17}