//
//  VolcLiveImpl.h
//  react-native-velive-pull
//
//  Created by ByteDance on 2025/9/18.
//

#import <Foundation/Foundation.h>
#import "VolcApiEngine/Engine.h"
#import "VolcApiEngine/VolcEventObserver.h"

NS_ASSUME_NONNULL_BEGIN

@interface VeLivePullImpl : NSObject

@property(nonatomic, strong) VolcApiEngine *volcApiEngine;
@property(nonatomic, weak) NSObject<EventObserver>* module;

- (NSDictionary *) callApiSync: (nonnull NSDictionary*) args;

- (void)callApi: (nonnull NSDictionary*) args
       callback: (void (^)(id))callback;

- (instancetype) initWithModule:(NSObject<EventObserver> *)module;

- (id)newApiEngine;
@end

NS_ASSUME_NONNULL_END
