import * as _storyteller_platform_ghost_story from '@storyteller-platform/ghost-story'; import { TimingAggregator } from '@storyteller-platform/ghost-story'; import { Logger } from 'pino'; import { RecognitionEngine, WhisperModel } from '@storyteller-platform/ghost-story/constants'; type WhisperCpuOverride = "blas" | "cpu" | null; interface TranscribeOptions { onProgress?: ((progress: number) => void) | null | undefined; parallelism?: number | null | undefined; signal?: AbortSignal | null | undefined; engine?: RecognitionEngine | null | undefined; model?: WhisperModel | null | undefined; processors?: number | null | undefined; threads?: number | null | undefined; whisperCpuOverride?: WhisperCpuOverride | null | undefined; logger?: Logger | null | undefined; googleCloudApiKey?: string | null | undefined; azureServiceRegion?: string | null | undefined; azureSubscriptionKey?: string | null | undefined; amazonTranscribeRegion?: string | null | undefined; amazonTranscribeAccessKeyId?: string | null | undefined; amazonTranscribeSecretAccessKey?: string | null | undefined; amazonTranscribeBucketName?: string | null | undefined; openAiApiKey?: string | null | undefined; openAiOrganization?: string | null | undefined; openAiBaseUrl?: string | null | undefined; openAiModelName?: string | null | undefined; whisperServerUrl?: string | null | undefined; whisperServerApiKey?: string | null | undefined; deepgramApiKey?: string | null | undefined; deepgramModel?: string | null | undefined; } declare function transcribe(input: string, output: string, locale: Intl.Locale, options: TranscribeOptions): Promise; interface TranscribeFileOptions extends Omit { engine: RecognitionEngine; model: WhisperModel; processors: number; threads: number; } declare function transcribeFile(input: string, locale: Intl.Locale, options: TranscribeFileOptions): Promise<_storyteller_platform_ghost_story.RecognitionResult>; export { type TranscribeFileOptions, type TranscribeOptions, transcribe, transcribeFile };