#pragma once

#include <maps/wikimap/mapspro/services/social/src/libs/common/db_pools.h>

// https://a.yandex-team.ru/arc/trunk/arcadia/maps/doc/proto/yandex/maps/proto/nmaps/feedback/api.proto
#include <yandex/maps/proto/nmaps/feedback/api.pb.h>

#include <maps/libs/geosearch_client/include/client.h>
#include <maps/wikimap/mapspro/libs/social/include/yandex/maps/wiki/social/feedback/task.h>
#include <maps/wikimap/mapspro/libs/social/include/yandex/maps/wiki/social/feedback/task_new.h>

namespace api = yandex::maps::proto::nmaps::feedback::api;

namespace maps::wiki::socialsrv {

social::feedback::TaskNew poiNewTaskFromProto(
    DbPoolsWithViewTrunk& dbPools,
    geosearch_client::Client& geosearchClient,
    const std::string& source,
    const std::string& body);

api::Hypothesis makeHypothesisProto(const social::feedback::Task& task);

api::HypothesisResult makeHypothesisResultProto(
    DbPoolsWithViewTrunk& dbPools,
    const social::feedback::Task& task);

} // namespace maps::wiki::socialsrv
