import { PrivateConfigClass } from '../../../common/config/private/PrivateConfigClass'; /** * This class decouples the extension management and the config. * It helps to solve the "chicken and the egg" which should load first: * Config or the extension as they have a circular dependency */ export declare class ExtensionConfigTemplateLoader { private static instance; private extensionList; private extensionTemplates; static get Instance(): ExtensionConfigTemplateLoader; /** * Loads a single extension template and adds it to the config * @param extFolder The folder name of the extension * @param config The config object to add the extension template to */ loadSingleExtension(extFolder: string, config: PrivateConfigClass): void; loadExtensionTemplates(config: PrivateConfigClass): void; /** * Loads a single extension template * @param extFolder The folder name of the extension * @returns The extension template object if the extension is valid, null otherwise */ private loadSingleExtensionTemplate; private getExtensionFolders; private setTemplatesToConfig; }