mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 01:18:07 +02:00
57 lines
1.7 KiB
TypeScript
57 lines
1.7 KiB
TypeScript
// Shared speech-provider implementation helpers for bundled and third-party plugins.
|
|
|
|
export type { SpeechProviderPlugin } from "../plugins/types.js";
|
|
export type { ResolvedTtsConfig, ResolvedTtsModelOverrides } from "../tts/tts-types.js";
|
|
export type {
|
|
SpeechDirectiveTokenParseContext,
|
|
SpeechDirectiveTokenParseResult,
|
|
SpeechListVoicesRequest,
|
|
SpeechModelOverridePolicy,
|
|
SpeechProviderConfig,
|
|
SpeechProviderConfiguredContext,
|
|
SpeechProviderPreparedSynthesis,
|
|
SpeechProviderPrepareSynthesisContext,
|
|
SpeechProviderResolveConfigContext,
|
|
SpeechProviderResolveTalkConfigContext,
|
|
SpeechProviderResolveTalkOverridesContext,
|
|
SpeechProviderOverrides,
|
|
SpeechSynthesisRequest,
|
|
SpeechSynthesisTarget,
|
|
SpeechTelephonySynthesisRequest,
|
|
SpeechVoiceOption,
|
|
TtsDirectiveOverrides,
|
|
TtsDirectiveParseResult,
|
|
} from "../tts/provider-types.js";
|
|
|
|
export {
|
|
scheduleCleanup,
|
|
summarizeText,
|
|
normalizeApplyTextNormalization,
|
|
normalizeLanguageCode,
|
|
normalizeSeed,
|
|
requireInRange,
|
|
} from "../tts/tts-core.js";
|
|
export { parseTtsDirectives } from "../tts/directives.js";
|
|
export {
|
|
canonicalizeSpeechProviderId,
|
|
getSpeechProvider,
|
|
listSpeechProviders,
|
|
normalizeSpeechProviderId,
|
|
} from "../tts/provider-registry.js";
|
|
export { resolveEffectiveTtsConfig } from "../tts/tts-config.js";
|
|
export { normalizeTtsAutoMode, TTS_AUTO_MODES } from "../tts/tts-auto-mode.js";
|
|
export {
|
|
asBoolean,
|
|
asFiniteNumber,
|
|
asObject,
|
|
assertOkOrThrowProviderError,
|
|
createProviderHttpError,
|
|
extractProviderErrorDetail,
|
|
extractProviderRequestId,
|
|
formatProviderErrorPayload,
|
|
formatProviderHttpErrorMessage,
|
|
readResponseTextLimited,
|
|
trimToUndefined,
|
|
truncateErrorDetail,
|
|
} from "../agents/provider-http-errors.js";
|