import { NativeModule } from "react-native"; import { EmitterSubscription } from "react-native"; export default class Broadcaster { private emitter; constructor(module: NativeModule); /** * Creates an event listener for the native function * @param key Key for the listener * @param callback Value returned for the listener callback * @returns Subscription */ addListener(id: string, callback: (value: any) => void): Promise; } //# sourceMappingURL=Broadcaster.d.ts.map