js-tts-wrapper
Version:
A JavaScript/TypeScript library that provides a unified API for working with multiple cloud-based Text-to-Speech (TTS) services
11 lines (10 loc) • 464 B
TypeScript
export declare class SpeechMarkdownConverter {
private speechMarkdownInstance;
constructor();
toSSML(markdown: string, platform?: string): Promise<string>;
isSpeechMarkdown(text: string): boolean;
getAvailablePlatforms(): string[];
}
export declare function toSSML(markdown: string, platform?: string): Promise<string>;
export declare function isSpeechMarkdown(text: string): boolean;
export declare function getAvailablePlatforms(): string[];