UNPKG

langcode

Version:

A Plugin-Based Framework for Managing and Using LangChain

20 lines (19 loc) 512 B
import { PluginDescriptions } from "./plugin"; export type TextToSpeechInitConfig = { elevenLabsApiKey: string; defaultVoiceId?: string; }; export type TextToSpeechRunArgs = { text: string; voiceId?: string; outputFilePath?: string; }; export interface TextToSpeechExpose extends PluginDescriptions { apiKey: string | null; defaultVoiceId: string; } export declare const TextToSpeechPluginTypes: { runArgs: TextToSpeechRunArgs; return: any; expose: TextToSpeechExpose; };