translation-terrace/specs/WhisperEngine.ts
2025-03-30 07:06:33 -07:00

11 lines
284 B
TypeScript

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',
);