blob: efef651e07321d5d4da1fd72a6c8920d7ff6bc4d [file] [log] [blame]
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
interface ModuleCache {
registerModule(chunkName: string, module: LicenseIdentifiedModule): void;
markSeenForChunk(chunkName: string, packageName: string): void;
alreadySeenForChunk(chunkName: string, packageName: string): boolean;
getModule(packageName: string): LicenseIdentifiedModule | null;
getAllModulesForChunk(chunkName: string): LicenseIdentifiedModule[];
getAllModules(): LicenseIdentifiedModule[];
}
export { ModuleCache };