import { EmitterSubscription, NativeEventEmitter } from 'react-native'; import { LogContext } from '../logger'; import { AdaptyType } from '../coders/parse'; import type { Spec } from '../specs/NativeRNAdapty'; export declare class NativeRequestHandler { _module: Spec; _emitter: NativeEventEmitter; _listeners: Set; constructor(module: Spec | null | undefined); request(method: Method, params: Params, resultType: AdaptyType, ctx?: LogContext): Promise; addRawEventListener void | Promise>(event: Event, cb: Cb): EmitterSubscription; addEventListener(event: Event, cb: (this: { rawValue: any; }, data: CallbackData) => void | Promise): EmitterSubscription; removeAllEventListeners(): void; } //# sourceMappingURL=native-request-handler.d.ts.map