// Currently disabled on iOS type Vosk = any; export { Vosk }; interface StartOptions { onResult: (text: string)=> void; } export interface Recorder { stop: ()=> Promise; cleanup: ()=> void; } export const isSupportedLanguage = (_locale: string) => { return false; }; export const modelIsDownloaded = async (_locale: string) => { return false; }; export const getVosk = async (_locale: string) => { return {} as any; }; export const startRecording = (_vosk: Vosk, _options: StartOptions): Recorder => { return { stop: async () => { return ''; }, cleanup: () => {}, }; }; export const voskEnabled = false;