/** * Copyright (c) Double Symmetry GmbH * Commercial use requires a license. See https://rntp.dev/pricing */ type Listener = (payload: unknown) => void; export interface EventSubscription { remove(): void; } /** * Minimal typed event emitter for the web backend. `src/audio.ts` routes * `addEventListener` here on web instead of `NativeEventEmitter`, so events * work regardless of react-native-web's emitter internals. */ export declare class EventBus { private listeners; addListener(event: string, listener: Listener): EventSubscription; emit(event: string, payload: unknown): void; removeAllListeners(): void; } export {}; //# sourceMappingURL=EventBus.d.ts.map