import { EventEmitter } from 'expo-modules-core'; const emitter = new EventEmitter({} as any); export default { PI: Math.PI, async setValueAsync(value: string): Promise { emitter.emit('onChange', { value }); }, hello() { return 'Hello world! 👋'; }, };