#pragma once

#include <yandex/maps/wiki/common/extended_xml_doc.h>
#include <yandex/maps/wiki/common/pgpool3_helpers.h>
#include <yandex/maps/wiki/tasks/common.h>
#include <mapreduce/yt/interface/operation.h>
#include <memory>

namespace maps::wiki::tasks::yt {

std::unique_ptr<common::ExtendedXmlDoc> loadConfigFromEnvironment(
    const std::string& environment);

void saveTaskOperationId(pgpool3::Pool& pool, TaskId taskId, NYT::TOperationId operationId);
} // namespace maps::wiki::tasks::yt
