Skip to content

🎥 Make videos programmatically with React

export result types

Igor Samokhovetsc6b22ce02704
diff --git a/packages/whisper-web/src/index.ts b/packages/whisper-web/src/index.ts
index 8e22c5520a..c5476fe71b 100644
--- a/packages/whisper-web/src/index.ts
+++ b/packages/whisper-web/src/index.ts
@@ -17,6 +17,7 @@ import type {
resampleTo16Khz as originalResampleTo16Khz,
ResampleTo16KhzParams,
} from './resample-to-16khz';
+import type {TranscriptionItemWithTimestamp, TranscriptionJson} from './result';
import type {
transcribe as originalTranscribe,
TranscribeParams,
@@ -66,6 +67,8 @@ export type {
DownloadWhisperModelResult,
ResampleTo16KhzParams,
TranscribeParams,
+ TranscriptionItemWithTimestamp,
+ TranscriptionJson,
WhisperWebLanguage,
WhisperWebModel,
WhisperWebUnsupportedReason,