123456789101112131415161718192021222324252627282930313233 |
- export declare class ModuleRegistry {
- private readonly _modulesUsed;
-
- constructor();
- /**
- * @return {Array<string>} A list of all of the import statements that are
- * needed for the modules being used.
- * @private
- */
- getImportStatements(): Array<string>;
- /**
- * @param {string} pkg The workbox package that the module belongs to.
- * @param {string} moduleName The name of the module to import.
- * @return {string} The local variable name that corresponds to that module.
- * @private
- */
- getLocalName(pkg: string, moduleName: string): string;
- /**
- * @param {string} pkg The workbox package that the module belongs to.
- * @param {string} moduleName The name of the module to import.
- * @return {string} The local variable name that corresponds to that module.
- * @private
- */
- use(pkg: string, moduleName: string): string;
- }
|