UNPKG

assemblyai

Version:

The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.

35 lines (34 loc) 1.17 kB
import { BaseServiceParams } from ".."; import { LemurService } from "./lemur"; import { RealtimeTranscriber, RealtimeTranscriberFactory, RealtimeService, RealtimeServiceFactory } from "./realtime"; import { TranscriptService } from "./transcripts"; import { FileService } from "./files"; import { StreamingTranscriber, StreamingTranscriberFactory } from "./streaming"; declare class AssemblyAI { /** * The files service. */ files: FileService; /** * The transcripts service. */ transcripts: TranscriptService; /** * The LeMUR service. */ lemur: LemurService; /** * The realtime service. */ realtime: RealtimeTranscriberFactory; /** * The streaming service. */ streaming: StreamingTranscriberFactory; /** * Create a new AssemblyAI client. * @param params - The parameters for the service, including the API key and base URL, if any. */ constructor(params: BaseServiceParams); } export { AssemblyAI, LemurService, RealtimeTranscriberFactory, RealtimeTranscriber, RealtimeServiceFactory, RealtimeService, TranscriptService, FileService, StreamingTranscriber, };