import { HEAPSDKPayload, Heap, HeapLogger, InvocationHandler } from '@heap/heap-javascript-bridge-support'; import type { CodegenTypes, NativeEventEmitter, NativeModule, Platform } from 'react-native'; type ResultHandler = (callbackId: string, data: any, error: string | undefined) => void; interface HeapReactNativeBridge extends NativeModule { handleInvocation?: InvocationHandler; handleResult?: ResultHandler; invocation?: CodegenTypes.EventEmitter; } type NativeEventEmitterConstructor = new (nativeModule?: NativeModule) => NativeEventEmitter; export declare const createReactNativeHeap: (HeapReactNativeBridge: HeapReactNativeBridge | undefined, Platform: Platform | undefined, NativeEventEmitter: NativeEventEmitterConstructor) => [Heap, HeapLogger]; export {};