using ClaudeDo.Ui.Services;

namespace ClaudeDo.Ui.Services.Interfaces;

public interface INotesApi
{
    Task<List<DailyNoteDto>> ListAsync(DateOnly day);
    /// <summary>Both ends inclusive — today plus its history in one call.</summary>
    Task<List<DailyNoteDto>> ListBetweenAsync(DateOnly start, DateOnly end);
    Task<DailyNoteDto?> AddAsync(DateOnly day, string text);
    Task UpdateAsync(string id, string text);
    Task DeleteAsync(string id);
}
