openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
34 lines • 1.26 kB
TypeScript
import { qn as SpeechProviderPlugin } from "../../types-C0dQmare.js";
//#region extensions/google/speech-provider.d.ts
declare function normalizeGoogleTtsModel(model: unknown): string;
declare function renderGoogleAudioProfilePrompt(params: {
text: string;
persona?: {
id: string;
label?: string;
prompt?: {
profile?: string;
scene?: string;
sampleContext?: string;
style?: string;
accent?: string;
pacing?: string;
constraints?: string[];
};
};
personaPrompt?: string;
}): string;
declare function wrapPcm16MonoToWav(pcm: Buffer, sampleRate?: number): Buffer;
declare function buildGoogleSpeechProvider(): SpeechProviderPlugin;
declare const testing: {
DEFAULT_GOOGLE_TTS_MODEL: string;
DEFAULT_GOOGLE_TTS_VOICE: string;
GOOGLE_AUDIO_PROFILE_PROMPT_TEMPLATE: string;
GOOGLE_TTS_MODELS: readonly ["gemini-3.1-flash-tts-preview", "gemini-2.5-flash-preview-tts", "gemini-2.5-pro-preview-tts"];
GOOGLE_TTS_SAMPLE_RATE: number;
normalizeGoogleTtsModel: typeof normalizeGoogleTtsModel;
renderGoogleAudioProfilePrompt: typeof renderGoogleAudioProfilePrompt;
wrapPcm16MonoToWav: typeof wrapPcm16MonoToWav;
};
//#endregion
export { testing as __testing, testing, buildGoogleSpeechProvider };