using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

namespace StellaOps.Policy;

public interface IPolicyAuditRepository
{
    Task AddAsync(PolicyAuditEntry entry, CancellationToken cancellationToken = default);

    Task<IReadOnlyList<PolicyAuditEntry>> ListAsync(int limit, CancellationToken cancellationToken = default);
}
