import type { PaintStyle } from "../tui/paint.js"; import { type ViewerThresholds } from "./thresholds.js"; export declare const THEME: { readonly kind: { readonly user: "#89b4fa"; readonly assistant: "#a6e3a1"; readonly tool: "#f9e2af"; readonly interrupt: "#fab387"; readonly error: "#f38ba8"; }; readonly chrome: "#585b70"; readonly muted: "#7f849c"; readonly text: "#cdd6f4"; readonly accent: "#cba6f7"; readonly cached: "#45475a"; readonly key: "#89dceb"; readonly ok: "#94e2d5"; readonly warning: "#fab387"; readonly rule: "#313244"; readonly cursorBg: "#313244"; /** Behind the columns of calls that ran inside a tool, one shade per * level of nesting: a sub-agent's calls take the first, the calls of a * tool that sub-agent ran take the second, and deeper levels keep the * last. Blue, so the gray cursor still stands apart. */ readonly groupBg: readonly ["#182030", "#20304a", "#2a3e60"]; }; export type Tone = "quiet" | "normal" | "hot"; export declare function durationTone(ms: number, thresholds: ViewerThresholds): Tone; export declare function costTone(usd: number, thresholds: ViewerThresholds): Tone; export declare function toneStyle(tone: Tone): PaintStyle; /** Color never carries meaning alone: a hot number also gets a mark, so * it reads in plain text and under NO_COLOR. */ export declare function hotMark(tone: Tone): string; export declare function threadColor(position: number): string;