using System.Text.Json.Nodes;

namespace Eis.Application.Public;

public interface IPublicQueryService
{
    Task<JsonObject> GetHomeAsync(CancellationToken cancellationToken);

    Task<JsonObject?> GetNoticeAsync(string id, CancellationToken cancellationToken);

    Task<JsonObject> GetAnnouncementsAsync(CancellationToken cancellationToken);

    Task<JsonObject?> VerifyDocumentAsync(string code, CancellationToken cancellationToken);
}
