using System.Text.Json.Nodes; using StellaOps.Findings.Ledger.Domain; namespace StellaOps.Findings.Ledger.Infrastructure; public interface ILedgerEventRepository { Task GetByEventIdAsync(string tenantId, Guid eventId, CancellationToken cancellationToken); Task GetChainHeadAsync(string tenantId, Guid chainId, CancellationToken cancellationToken); Task AppendAsync(LedgerEventRecord record, CancellationToken cancellationToken); }