import type {TurboModule} from 'react-native'; import {TurboModuleRegistry} from 'react-native'; export interface Spec extends TurboModule { loadWhisper(path: string): void; translate() : void; } export default TurboModuleRegistry.getEnforcing( 'NativeWhisperEngine', );