#pragma once

#include <maps/wikimap/mapspro/services/mrc/eye/experiments/signs_map/toloka/matches/lib/include/pair.h>

#include <maps/wikimap/mapspro/services/mrc/libs/db/include/common.h>

#include <maps/libs/json/include/value.h>

#include <vector>
#include <string>
#include <iostream>

namespace maps::mrc::eye {

using Match = std::pair<db::TId, db::TId>;

using Matches = std::vector<Match>;

using MatchesByFeatureIdPair = std::map<FeatureIdPair, Matches>;


MatchesByFeatureIdPair loadMatches(std::istream& input);

MatchesByFeatureIdPair loadMatches(const std::string& path);

} // namespace maps::mrc::eye
