import { Repository } from "@lodestar/db";
import { ssz } from "@lodestar/types";
import { Bucket, getBucketNameByValue } from "../buckets.js";
/**
 * Historical sync committees by SyncCommittee hash tree root
 *
 * Used to prepare lightclient updates and initial snapshots
 */
export class SyncCommitteeRepository extends Repository {
    constructor(config, db) {
        const bucket = Bucket.lightClient_syncCommittee;
        super(config, db, bucket, ssz.altair.SyncCommittee, getBucketNameByValue(bucket));
    }
}
//# sourceMappingURL=lightclientSyncCommittee.js.map