///
/// NitroTorch-Swift-Cxx-Umbrella.hpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 2025 Marc Rousavy @ Margelo
///

#pragma once

// Forward declarations of C++ defined types
// Forward declaration of `HybridTorchSpec` to properly resolve imports.
namespace margelo::nitro::nitrotorch { class HybridTorchSpec; }

// Include C++ defined types
#include "HybridTorchSpec.hpp"
#include <NitroModules/Promise.hpp>
#include <NitroModules/Result.hpp>
#include <exception>
#include <functional>
#include <memory>
#include <optional>

// C++ helpers for Swift
#include "NitroTorch-Swift-Cxx-Bridge.hpp"

// Common C++ types used in Swift
#include <NitroModules/ArrayBufferHolder.hpp>
#include <NitroModules/AnyMapUtils.hpp>
#include <NitroModules/RuntimeError.hpp>
#include <NitroModules/DateToChronoDate.hpp>

// Forward declarations of Swift defined types
// Forward declaration of `HybridTorchSpec_cxx` to properly resolve imports.
namespace NitroTorch { class HybridTorchSpec_cxx; }

// Include Swift defined types
#if __has_include("NitroTorch-Swift.h")
// This header is generated by Xcode/Swift on every app build.
// If it cannot be found, make sure the Swift module's name (= podspec name) is actually "NitroTorch".
#include "NitroTorch-Swift.h"
// Same as above, but used when building with frameworks (`use_frameworks`)
#elif __has_include(<NitroTorch/NitroTorch-Swift.h>)
#include <NitroTorch/NitroTorch-Swift.h>
#else
#error NitroTorch's autogenerated Swift header cannot be found! Make sure the Swift module's name (= podspec name) is actually "NitroTorch", and try building the app first.
#endif
