#pragma once

#include <saas/searchproxy/proxy_meta/rearrange/abstract/rearrange.h>

#include <library/cpp/cgiparam/cgiparam.h>

namespace NProxyMeta {
    bool DoTrieSharding(const TCgiParameters& cgi,
                        const NSaas::TShardsDispatcher& shardDispatcher,
                        const NSaas::TShardIntervals& shardIntervals,
                        const TVector<THolder<NScatter::ISource>>& sources,
                        TKeysForSource& keysForSource);
}
