#pragma once

#include <maps/wikimap/mapspro/services/mrc/libs/db/include/eye/recognition.h>
#include <maps/libs/chrono/include/time_point.h>

#include <maps/libs/pgpool/include/pgpool3.h>

#include <optional>

namespace maps::mrc::eye {

void updateImportDetectionTxnId(
    pqxx::transaction_base& txn,
    db::eye::RecognitionType recognitionType,
    db::TId txnId);

db::TId getImportDetectionTxnId(
    pqxx::transaction_base& txn,
    db::eye::RecognitionType recognitionType);

} // namespace maps::mrc::eye
