/** * Jinn Talk — server-side speech sanitizer. * * Converts a sentence (or flush remainder) into clean spoken text before * handing it to the TTS engine. Strips Markdown syntax, bare URLs, UUIDs, * bare hex identifiers, and machine protocol tags that the TTS engine would * otherwise read aloud literally ("asterisk asterisk", UUID strings, etc.). * * Port of the core logic from packages/web/src/lib/strip-markdown.ts with * additional speech-specific transforms. The web copy is intentionally left * untouched. * * Call on complete sentences / flush remainders, NOT on raw streaming deltas * (markdown tokens often split across delta boundaries). */ /** * Strip Markdown and machine-readable tokens from `text`, returning a plain * string safe for TTS synthesis. Returns an empty string when the input * contains nothing worth speaking (e.g. a bare code block or UUID). */ export declare function toSpeakable(text: string): string; //# sourceMappingURL=speakable.d.ts.map