/** @internal NOTE: Internal APIs. Subject to change. Use of these APIs in production applications is not supported. */ /** */
import { BimTypeObjectReader } from './BimTypeObjectReader';
export class BimTypeObjectRepository {
    _index;
    types;
    constructor(_index, objectAttributes) {
        this._index = _index;
        this.types = new BimTypeObjectReader().read(_index, objectAttributes);
    }
    has(id) {
        return id >= 0 && id < this.types.length;
    }
    get(id) {
        return this.types[id];
    }
}
//# sourceMappingURL=BimTypeObjectRepository.js.map