import { $r as RealtimeTranscriptionProviderConfig, Un as RealtimeTranscriptionProviderPlugin, ai as RealtimeTranscriptionSessionCreateRequest } from "./types-CX0M-Q5K.js";
//#region extensions/elevenlabs/realtime-transcription-provider.d.ts
type ElevenLabsRealtimeTranscriptionProviderConfig = {
  apiKey?: string;
  baseUrl?: string;
  modelId?: string;
  audioFormat?: string;
  sampleRate?: number;
  languageCode?: string;
  commitStrategy?: "manual" | "vad";
  vadSilenceThresholdSecs?: number;
  vadThreshold?: number;
  minSpeechDurationMs?: number;
  minSilenceDurationMs?: number;
};
type ElevenLabsRealtimeTranscriptionSessionConfig = RealtimeTranscriptionSessionCreateRequest & {
  apiKey: string;
  baseUrl: string;
  modelId: string;
  audioFormat: string;
  sampleRate: number;
  commitStrategy: "manual" | "vad";
  languageCode?: string;
  vadSilenceThresholdSecs?: number;
  vadThreshold?: number;
  minSpeechDurationMs?: number;
  minSilenceDurationMs?: number;
};
declare function normalizeProviderConfig(config: RealtimeTranscriptionProviderConfig): ElevenLabsRealtimeTranscriptionProviderConfig;
declare function toElevenLabsRealtimeWsUrl(config: ElevenLabsRealtimeTranscriptionSessionConfig): string;
declare function buildElevenLabsRealtimeTranscriptionProvider(): RealtimeTranscriptionProviderPlugin;
declare const testing: {
  normalizeProviderConfig: typeof normalizeProviderConfig;
  toElevenLabsRealtimeWsUrl: typeof toElevenLabsRealtimeWsUrl;
};
//#endregion
export { testing as n, buildElevenLabsRealtimeTranscriptionProvider as t };