//#region src/infra/outbound/sanitize-text.d.ts
/**
 * Sanitize model output for plain-text messaging surfaces.
 *
 * LLMs occasionally produce HTML tags (`<br>`, `<b>`, `<i>`, etc.) that render
 * correctly on web but appear as literal text on WhatsApp, Signal, SMS, and IRC.
 *
 * Converts common inline HTML to lightweight-markup equivalents used by
 * WhatsApp/Signal/Telegram and strips any remaining tags.
 *
 * @see https://github.com/nodmix/openclaw/issues/31884
 * @see https://github.com/nodmix/openclaw/issues/18558
 */
declare function stripInternalRuntimeScaffolding(text: string): string;
/**
 * Convert common HTML tags to their plain-text/lightweight-markup equivalents
 * and strip anything that remains.
 *
 * The function is intentionally conservative — it only targets tags that models
 * are known to produce and avoids false positives on angle brackets in normal
 * prose (e.g. `a < b`).
 */
declare function sanitizeForPlainText(text: string): string;
//#endregion
export { stripInternalRuntimeScaffolding as n, sanitizeForPlainText as t };