using System;
using System.Threading;
using System.Threading.Tasks;

namespace Knot.Modules.Stories.Application.Abstractions;

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