#pragma once

#include <saas/library/sharding/sharding.h>
#include <saas/util/cluster/slot_data.h>
#include <util/generic/map.h>
#include <util/generic/maybe.h>
#include <util/generic/vector.h>

namespace NRTYDeploy {
    TMaybe<TVector<NRTYCluster::TSlotData>> PlaceSlots(const TMap<TString, NRTYCluster::TSlotData>& slots,
        const TMap<NSearchMapParser::TShardsInterval, THashSet<TString>>& forbiddenSet,
        const TVector<NSearchMapParser::TShardsInterval>& intervals);
} // namespace NRTYDeploy
