using System;
using System.Threading;
using System.Threading.Tasks;
using Knot.Modules.Relations.Domain;

namespace Knot.Modules.Relations.Application.Abstractions;

public interface IUserRepository
{
    Task<bool> ExistsAsync(Guid id, CancellationToken cancellationToken = default);
    Task<UserReplica?> GetByIdAsync(Guid id, CancellationToken cancellationToken = default);
}
