import type { Context } from '../../types'; import type { ModuleDocumentation, LoadedBundle, ModulesManifest, PartialSourceModule, Importer, ModuleDeclarationWithSource, ManifestImporter } from '../moduleTypes'; export declare function setModulesStaticURL(value: string): void; export declare const memoizedLoadModuleManifestAsync: { (importer?: ManifestImporter): Promise; reset(): void; }; export declare const memoizedLoadModuleDocsAsync: { (moduleName: string, throwOnError: true, importer?: Importer): Promise; (moduleName: string, throwOnError?: false, importer?: Importer): Promise; cache: Map; }; /** * Load all the tabs of the given names */ export declare function loadModuleTabsAsync(tabs: string[], importer?: Importer): Promise; /** * Load the bundle of the module of the given name using the provided bundle loading function * * @param node Node that triggered the loading of the given bundle * @param bundleLoader Bundle loading function */ export declare function loadModuleBundleAsync(moduleName: string, context: Context, importer?: Importer, node?: ModuleDeclarationWithSource): Promise;