import { type ReadStream } from 'fs'; import { OpenAI } from 'openai'; import type { TranscriptionCreateParamsNonStreaming } from 'openai/resources/audio/transcriptions'; import { LLMProviders, type LLMInstanceOptions, type LLMTranscribeOptions } from '../../../LLMService.typedefs'; import { type LLMLoggerInterface } from '../../../utilities/logger'; import { type LLMReporterInterface } from '../../../utilities/reporter'; import { OpenAICompatibleSpeechToTextService } from '../../../providers/OpenAICompatible/OpenAICompatibleSpeechToText.service'; export declare class LLMAPISpeechToTextService | undefined> extends OpenAICompatibleSpeechToTextService { constructor(logger: LLMLoggerInterface | undefined, reporter: Reporter, options?: LLMInstanceOptions[LLMProviders.LLMAPI]); get instance(): OpenAI; protected buildTranscriptionParams(options: LLMTranscribeOptions, audioFileStream: ReadStream): TranscriptionCreateParamsNonStreaming<'json'>; protected extractUsage(_response: OpenAI.Audio.Transcription, pathToAudio: string): Promise<{ inputTextTokens: number; inputAudioTokens: number; outputTextTokens: number; }>; }