using CartWise.Application.Results;
using CartWise.Domain.Entities;

namespace CartWise.Application.Interfaces;

public interface IHouseholdService
{
    Task<Result<Household>> CreateHouseholdAsync(string name, string userId, CancellationToken cancellationToken = default);

    Task<Household?> GetCurrentHouseholdAsync(string userId, CancellationToken cancellationToken = default);

    Task<bool> IsMemberAsync(Guid householdId, string userId, CancellationToken cancellationToken = default);
}
