UNPKG

@jargon/platform-sdk-core

Version:

Core components of the Jargon Platform SDK for node.js

13 lines (12 loc) 385 B
/** * Escapes characters that have special meaning in SSML. Currently only * handles ampersands ('&' -> '&') * @param s The string to escape */ export declare function escapeSSML(s: string): string; /** * Wraps the provided string with SSSM 'speak' tags, if not already * present. * @param ssml The string to wrap */ export declare function wrapSSML(ssml: string): string;