import { r as DexConfig } from "./types.openclaw-DdfkPVtj.js";
import { io as SpeechProviderId, no as SpeechProviderConfig, qn as SpeechProviderPlugin, to as SpeechModelOverridePolicy, vo as TtsDirectiveParseResult } from "./types-C9WXbJM3.js";

//#region src/tts/tts-provider-helpers.d.ts
declare function requireInRange(value: number, min: number, max: number, label: string): void;
declare function normalizeLanguageCode(code?: string): string | undefined;
declare function normalizeApplyTextNormalization(mode?: string): "auto" | "on" | "off" | undefined;
declare function normalizeSeed(seed?: number): number | undefined;
declare function scheduleCleanup(tempDir: string, delayMs?: number): void;
//#endregion
//#region src/tts/directives.d.ts
type ParseTtsDirectiveOptions = {
  cfg?: DexConfig;
  providers?: readonly SpeechProviderPlugin[];
  providerConfigs?: Record<string, SpeechProviderConfig>;
  preferredProviderId?: string;
};
declare function parseTtsDirectives(text: string, policy: SpeechModelOverridePolicy, options?: ParseTtsDirectiveOptions): TtsDirectiveParseResult;
//#endregion
//#region src/tts/provider-registry-core.d.ts
declare function normalizeSpeechProviderId(providerId: string | undefined): SpeechProviderId | undefined;
//#endregion
//#region src/tts/provider-registry.d.ts
declare const listSpeechProviders: (cfg?: DexConfig) => SpeechProviderPlugin[];
declare const listLoadedSpeechProviders: (cfg?: DexConfig) => SpeechProviderPlugin[];
declare const getSpeechProvider: (providerId: string | undefined, cfg?: DexConfig) => SpeechProviderPlugin | undefined;
declare const canonicalizeSpeechProviderId: (providerId: string | undefined, cfg?: DexConfig) => SpeechProviderId | undefined;
//#endregion
export { normalizeSpeechProviderId as a, normalizeLanguageCode as c, scheduleCleanup as d, listSpeechProviders as i, normalizeSeed as l, getSpeechProvider as n, parseTtsDirectives as o, listLoadedSpeechProviders as r, normalizeApplyTextNormalization as s, canonicalizeSpeechProviderId as t, requireInRange as u };