// Copyright © 2022 BytePlusRTC All rights reserved.
// SPDX-License-Identifier: MIT

//
//  VertcImpl.h
//  Pods
//
//  Created by ByteDance on 2025/10/28.
//
#import <Foundation/Foundation.h>
#import "VolcApiEngine/Engine.h"
#import "VolcApiEngine/VolcEventObserver.h"

NS_ASSUME_NONNULL_BEGIN

@interface VertcImpl : 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