import { IndexShard } from "./IndexShard.js";
/** Node-to-global-ID mappings + alive bitmap for a shard. */
export class MetaShard extends IndexShard {
    nodeToGlobal;
    nextLocalId;
    alive;
    constructor({ shardKey, schemaVersion = 1, nodeToGlobal, nextLocalId, alive }) {
        super({ shardKey, schemaVersion });
        this.nodeToGlobal = nodeToGlobal;
        this.nextLocalId = nextLocalId;
        this.alive = alive;
        Object.freeze(this);
    }
}
