React Native, Eventemitter, Navigation, Turbo Module, Bridge.
'react-native'; import type { UnsafeObject } from 'react-native/Libraries/Types/CodegenTypes'; export interface Spec extends TurboModule { setRoot(routeName: string): void; push(routeName: string, params?: UnsafeObject): void; pop(): void; addListener(eventName: string): void;