import { NativeModule } from 'react-native'; import type { VideoViewEventMap } from '../VideoView/events'; import type { CommsAPIEventMap } from '../events'; import type { AudioPreviewStatusChangedEventMap } from '../services/audio/events'; import type { CommandServiceEventMap } from '../services/command/events'; import type { ConferenceServiceEventMap } from '../services/conference/events'; import type { FilePresentationServiceEventMap } from '../services/filePresentation/events'; import type { NotificationServiceEventMap } from '../services/notification/events'; import type { RecordingServiceEventMap } from '../services/recording/events'; import type { VideoPresentationEventMap } from '../services/videoPresentation/events'; import type { UnregisterListener } from './types'; interface NativeEventType extends CommsAPIEventMap, ConferenceServiceEventMap, NotificationServiceEventMap, RecordingServiceEventMap, FilePresentationServiceEventMap, CommandServiceEventMap, VideoPresentationEventMap, AudioPreviewStatusChangedEventMap, VideoViewEventMap { } export default class NativeEvents { private _nativeEventEmitter; constructor(module: NativeModule); addListener(type: K, listener: (event: NativeEventType[K], type?: K) => void): UnregisterListener; } export {};