/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ /** * Format timestamp for display * Shows time only (e.g., "5:30 PM") for today, or date + time for older messages */ export declare function formatTimestamp(timestamp: Date | string | undefined): string; /** Escape HTML entities for safe insertion into innerHTML */ export declare function escapeHtml(text: string): string; /** Map a language identifier to a human-readable display name */ export declare function getLangDisplayName(lang: string): string; /** * Render a subset of Markdown to HTML. * * Supports: code blocks, inline code, headings (h1-h3), bold, italic, * links, unordered lists, and paragraph wrapping. The input is HTML-escaped * first so the result is safe for innerHTML. */ export declare function renderMarkdown(text: string): string; //# sourceMappingURL=format.d.ts.map