import { ApiClient } from ".."; import { readFile } from "../request"; type AudioResponseFormat = 'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'; type CreateAudioTranscriptionRequest = { model: string; prompt?: string; response_format?: AudioResponseFormat; temperature?: number; language?: string; }; type CreateAudioTranslationRequest = { model: string; prompt?: string; response_format?: AudioResponseFormat; temperature?: number; }; type Audio = Partial<{ [key in AudioResponseFormat]: string; }>; export function createAudioTranscription(client: ApiClient) { return async (request: CreateAudioTranscriptionRequest, file: string | Blob): Promise