start to incorporate whisper-native

This commit is contained in:
Jordan Hewitt
2025-03-30 07:06:33 -07:00
parent 0ba5c4b309
commit ac9df75e84
10 changed files with 114 additions and 123 deletions

11
specs/WhisperEngine.ts Normal file
View File

@ -0,0 +1,11 @@
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<Spec>(
'NativeWhisperEngine',
);