#pragma once

#include <maps/libs/geolib/include/polygon.h>
#include <yandex/maps/wiki/revision/common.h>
#include <maps/libs/pgpool/include/pgpool3.h>

namespace maps::wiki::renderer_overlay {

std::optional<geolib3::Polygon2>
getObjectGeometry(pgpool3::Pool& pool, revision::DBID branchId, const std::string& token, revision::DBID oid);

} // namespace  maps::wiki::renderer_overlay
