namespace Health.Application.Maintenance;

public sealed record MaintenanceCleanupResult(
    int Conversations,
    int VerificationCodes,
    int BackgroundTasks);

public interface IMaintenanceService
{
    Task<MaintenanceCleanupResult> CleanupAsync(DateTime utcNow, CancellationToken ct);
}

public interface IMaintenanceRepository
{
    Task<MaintenanceCleanupResult> CleanupAsync(DateTime conversationCutoff, DateTime taskCutoff, DateTime utcNow, CancellationToken ct);
}
