/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import <DynamsoftCaptureVisionBundle/DSCapturedResult.h>
#import <DynamsoftCaptureVisionBundle/DSQuadrilateral.h>
#import <DynamsoftCaptureVisionBundle/DSRect.h>
#import <jsi/jsi.h>

NS_ASSUME_NONNULL_BEGIN

@interface DSCapturedResult (JSI)

- (facebook::jsi::Object)convertToJSIObject:(facebook::jsi::Runtime& )runtime;

@end

NS_ASSUME_NONNULL_END

DSQuadrilateral * _Nullable convertJSIValueToDSQuadrilateral(facebook::jsi::Runtime &runtime, const facebook::jsi::Object &value);

DSRect * _Nullable convertJSIValueToDSRect(facebook::jsi::Runtime &runtime, const facebook::jsi::Object &value);
