//
//  AudioRecorderModule.m
//  humand
//
//  Created by Oleksandr Shumihin on 28/7/25.
//  Copyright © 2025 Humand. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

@interface RCT_EXTERN_MODULE(AudioRecorderModule, RCTEventEmitter)

RCT_EXTERN_METHOD(record:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(stop:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(pause)
RCT_EXTERN_METHOD(resume)
RCT_EXTERN_METHOD(getDuration:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject)
@end

