1/** 2 * Escape carrigage returns like a terminal 3 */ 4export function escapeCarriageReturn(text: string): string; 5export default escapeCarriageReturn; 6 7/** 8 * Safely escape carrigage returns like a terminal. 9 * This allows to escape carrigage returns while allowing future output to be appended 10 * without loosing information. 11 * Use this as a intermediate escape step if your stream hasn't completed yet. 12 */ 13export function escapeCarriageReturnSafe(text: string): string; 14