blob: b52b1cb0dd63c5bacd5b342ce482a8e53290cfb8 [file] [log] [blame]
import { ModuleCache } from './ModuleCache';
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
declare class PluginModuleCache implements ModuleCache {
private totalCache;
private chunkCache;
private chunkSeenCache;
registerModule(chunkName: string, module: LicenseIdentifiedModule): void;
getModule(packageName: string): LicenseIdentifiedModule | null;
markSeenForChunk(chunkName: string, packageName: string): void;
alreadySeenForChunk(chunkName: string, packageName: string): boolean;
getAllModulesForChunk(chunkName: string): LicenseIdentifiedModule[];
getAllModules(): LicenseIdentifiedModule[];
}
export { PluginModuleCache };