#pragma once

#include "building_lookup.h"

#include <maps/libs/geolib/include/point.h>

#include <vector>
#include <utility>

namespace maps::wiki::guide_pedestrian {

class BuildingSearcher
{
public:
    explicit BuildingSearcher(std::vector<BuildingData> buildingsData);

    std::optional<BuildingData> search(const geolib3::Point2& point) const;

private:
    std::vector<BuildingData> buildingsData_;
};

} // namespace maps::wiki::guide_pedestrian
