import type { IJavaScriptModule } from '../types/javascript_module'; import type { IWebAssemblyModule } from '../types/wasm_module'; type CacheItem = IWebAssemblyModule | IJavaScriptModule; /** * Cache for command modules so that each only has to be downloaded once. * A module can either be a `IJavaScriptModule` or a `IWebAssemblyModule`. * Here they are typed as `any` and the `CommandModuleLoader` deals with the specific types. */ export declare class CommandModuleCache { get(packageName: string, moduleName: string): CacheItem | undefined; has(packageName: string, moduleName: string): boolean; key(packageName: string, moduleName: string): string; set(packageName: string, moduleName: string, module: CacheItem): void; private _cache; } export {};