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 OpenAISpeechToTextService | undefined> extends OpenAICompatibleSpeechToTextService { constructor(logger: LLMLoggerInterface | undefined, reporter: Reporter, options?: LLMInstanceOptions[LLMProviders.OpenAI]); get instance(): OpenAI; protected buildTranscriptionParams(options: LLMTranscribeOptions, audioFileStream: ReadStream): TranscriptionCreateParamsNonStreaming<'json'>; protected extractUsage(response: OpenAI.Audio.Transcription, _pathToAudio: string): { inputTextTokens: number; inputAudioTokens: number; outputTextTokens: number; }; }