// Copyright 2025-present 650 Industries. All rights reserved.

#import <ExpoModulesJSI/EXJavaScriptRuntime.h>
#import <ExpoModulesJSI/EXJavaScriptObject.h>

#ifdef __cplusplus
#if WORKLETS_ENABLED

#include <worklets/WorkletRuntime/WorkletRuntime.h>

#endif
#endif

NS_SWIFT_NAME(WorkletRuntime)
@interface EXWorkletRuntime : EXJavaScriptRuntime

#ifdef __cplusplus
#if WORKLETS_ENABLED

- (nonnull instancetype)initWithWorkletRuntime:(std::shared_ptr<worklets::WorkletRuntime> &)workletRuntime
                                   callInvoker:(std::shared_ptr<react::CallInvoker>)callInvoker;

- (std::shared_ptr<worklets::WorkletRuntime>)getWorkletRuntime;

#endif
#endif // __cplusplus

@end
