import { stripControlCharacters } from "../utils/controlCharacters.js"; export { stripControlCharacters }; /** Neutralize controls and escape style tags before applying TUI styling. */ export declare function sanitizeUntrusted(text: string): string; /** * Clipboard text, made safe for a single-line editor. * * Newlines and tabs are collapsed to spaces because the draft renders on one * footer row, and every other control character is dropped rather than * replaced — a paste is the user's own text, so a visible replacement marker * would be noise rather than evidence. */ export declare function pastedText(text: string): string;