import { AbstractCommitmentsSnapshotService as e } from "../../event-service/evm/AbstractCommitmentsSnapshotService.mjs";
import "../../event-service/index.mjs";
//#region libs/shared/common/src/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.ts
var t = class extends e {
	snapshotsService;
	constructor(e, t) {
		super(e), this.snapshotsService = t;
	}
	async fetchSnapshot() {
		let e = await this.snapshotsService.getCommitments();
		return {
			latestBlockNumber: e.latestBlockNumber,
			merkleTree: e.merkleTree,
			encryptedOutputs: e.encryptedOutputs,
			encryptedOutputsByCommitment: e.encryptedOutputsByCommitment
		};
	}
	persistSnapshot(e) {
		return Promise.resolve();
	}
};
//#endregion
export { t as ClientCommitmentsSnapshotService };
