using Heimdall.Application.DTOs; namespace Heimdall.Application.Common.Persistence; public interface IUserRepository { Task> GetPagedAsync(int page, int pageSize, CancellationToken ct); Task GetByIdAsync(Guid id, CancellationToken ct); Task CountAdminUsersAsync(CancellationToken ct); Task AddAuditLogAsync(Guid? userId, string action, string resourceType, string? resourceId, string? oldValue, string? newValue, CancellationToken ct); Task SetUserSitesAsync(Guid userId, IList siteIds, CancellationToken ct); Task RemoveUserDataAsync(Guid userId, CancellationToken ct); Task ExistsAsync(Guid userId, CancellationToken ct); Task CountUsersAsync(CancellationToken ct); Task> GetLanguagesAsync(IReadOnlyCollection userIds, CancellationToken ct); Task> GetEmailsAsync(IReadOnlyCollection userIds, CancellationToken ct); Task> GetGroupMembersAsync(Guid groupId, CancellationToken ct); Task IsAdminAsync(Guid userId, CancellationToken ct); }