package com.contentsquare.rn.csq import com.facebook.react.bridge.WritableMap /** * Interface for emitting invocation events from native to JavaScript. * This abstraction allows CSQAutocapture to work with both old and new React Native architectures. */ interface InvocationEventEmitter { /** * Sends an invocation event to JavaScript. * @param payload The event payload containing invocation details */ fun sendInvocationEvent(payload: WritableMap) }