import { IndexShard } from "./IndexShard.js";
/** Build metadata receipt. */
export class ReceiptShard extends IndexShard {
    version;
    nodeCount;
    labelCount;
    shardCount;
    constructor({ shardKey = 'receipt', schemaVersion = 1, version, nodeCount, labelCount, shardCount }) {
        super({ shardKey, schemaVersion });
        this.version = version;
        this.nodeCount = nodeCount;
        this.labelCount = labelCount;
        this.shardCount = shardCount;
        Object.freeze(this);
    }
}
