// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FloraMultiPlatformFrontend.Presentation.Models.Diagnosis;

namespace FloraMultiPlatformFrontend.Data.Repositories.Interfaces;

/// <summary>
/// Repository interface for managing synoptic configuration data
/// </summary>
public interface ISynopticConfigRepository
{
    /// <summary>
    /// Loads all pages data from the configuration files
    /// </summary>
    /// <returns>List of all page data items</returns>
    Task<List<SynopticPageConfiguration>> GetReleaseDataAsync();

    /// <summary>
    /// Loads release data filtered by group ID
    /// </summary>
    /// <param name="groupId">The group ID to filter by</param>
    /// <returns>List of release data items for the specified group</returns>
    Task<List<SynopticPageConfiguration>> GetReleaseDataByGroupIdAsync(int groupId);


}
