namespace StellaOps.Feedser.Storage.Mongo.MergeEvents;

public interface IMergeEventStore
{
    Task AppendAsync(MergeEventRecord record, CancellationToken cancellationToken);

    Task<IReadOnlyList<MergeEventRecord>> GetRecentAsync(string advisoryKey, int limit, CancellationToken cancellationToken);
}
