import './PhetioIDUtils.js';
import '../../globals.js';
import tandemNamespace from './tandemNamespace.js';
// By default, the cache key is an IOType (like for a single parameter like PropertyIO)
class IOTypeCache extends Map {
    constructor(entries) {
        super(entries);
        IOTypeCache.caches.push(this);
    }
    static clearAll() {
        IOTypeCache.caches.forEach(cache => cache.clear());
    }
}
IOTypeCache.caches = [];
tandemNamespace.register('IOTypeCache', IOTypeCache);
export default IOTypeCache;
//# sourceMappingURL=IOTypeCache.js.map