SboxSuperuser/Engine/Audit/IAuditRetention.cs

An internal interface in the audit engine namespace. Declares a single method, PruneAuditAsync, which takes an expected storage revision and a cancellation token and returns a StoragePruneResult, so audit log pruning can be abstracted behind an interface.

using SboxSuperuser.Core.Storage;

namespace SboxSuperuser.Engine.Audit;

internal interface IAuditRetention
{
	Task<StoragePruneResult> PruneAuditAsync( long expectedRevision, CancellationToken cancellation );
}