/** * Tracks module paths that have failed to load. */ declare const failedRequires: Set; /** * Rewrites web specific AMD dependencies to use the plugin syntax. * @param dependencies The AMD dependencies of the module */ declare function updateDeps(dependencies: string[]): string[]; /** * Hooks the dojo require() function to make it accept a 3rd parameter, which is * an error callback. This matches the signature used by RequireJS, which is what * TypeScript expects when it transpiles dynamic imports. Without this, the * promise resulting from `await import("foo")` will stay pending forever if * there is an error loading the module. * @param dojoRequire The original dojo require function. * @returns A hooked version of the require function. */ declare function hookDojoRequire(dojoRequire: any): any; /** * Hooks the dojo define() function to use the hooked require() function (see * hookDojoRequire()). * @param dojoDefine The original dojo define function. * @returns A hooked version of the define function. */ declare function hookDojoDefine(dojoDefine: any): any;