import type { HistoryEntry } from '../../history-entry.js'; /** * Glyph rendered as the clickable copy affordance on copyable chat cards. * Chosen from the Dingbats range (U+274F), which the TUI's tool-glyph table * already relies on for guaranteed single-cell monospace width — East-Asian * "ambiguous width" glyphs would desync the icon column the hit test records. */ export declare const COPY_ICON = "\u274F"; /** * Width in terminal cells the copy icon occupies when rendered. The hit test in * the mouse handler treats the icon column plus this span as the target. */ export declare const COPY_ICON_WIDTH = 1; /** * Return the most useful lossless clipboard representation for any retained * history card. Text cards preserve their original text, pasted user cards use * the full paste, tool cards use their unformatted result, and cards without a * natural text body fall back to raw JSON. */ export declare function copyableTextForEntry(entry: HistoryEntry): string; /** Raw, ordered representation of every entry rendered inside one compact tool-group box. */ export declare function copyableTextForEntries(entries: readonly HistoryEntry[]): string; /** Every retained history entry has either natural text or a raw JSON fallback. */ export declare function isCopyableEntry(_entry: HistoryEntry): boolean; //# sourceMappingURL=copy-icon.d.ts.map