#ifndef COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_CONFIG_PARSER_H_
#define COMPONENTS_SEGMENTATION_PLATFORM_INTERNAL_CONFIG_PARSER_H_
#include <memory>
#include <string>
#include "base/containers/flat_set.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"
namespace segmentation_platform {
struct Config;
std::unique_ptr<Config> ParseConfigFromString(const std::string& config_str);
base::flat_set<proto::SegmentId> GetAllSegmentIdsFromConfigs(
const std::vector<std::unique_ptr<Config>>& configs);
}
#endif