/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include #include #include #include #include namespace facebook::react { class HermesInstance { public: static std::unique_ptr createJSRuntime( std::shared_ptr reactNativeConfig, std::shared_ptr<::hermes::vm::CrashManager> crashManager, std::shared_ptr msgQueueThread, bool allocInOldGenBeforeTTI) noexcept; }; } // namespace facebook::react