import type { FlowColorConfig, FlowColorRole, FlowTheme } from "./flow-colors.js"; import type { DisplayItem } from "../types/ui.js"; type ThemeFg = (color: string, text: string) => string; declare function getContentRole(baseRole: "aimContent" | "actContent" | "msgContent", text: string, useError?: boolean): FlowColorRole; declare function applyScrambledContextLabel(id: string, ctxTokens: number, maxCtxTokens: number | undefined, now: number, isComplete: boolean): string; declare function getLiveTextWithFallback(id: string): string | undefined; declare function shortenPath(p: string): string; declare function formatFlowToolCall(toolName: string, args: Record, fg: ThemeFg): string; declare function splitOutputLines(text: string): string[]; declare function renderToolTraces(items: DisplayItem[], theme: FlowTheme, config?: FlowColorConfig): string; declare function renderFlowReport(output: string, theme: FlowTheme, config?: FlowColorConfig): string; export { getContentRole, applyScrambledContextLabel, getLiveTextWithFallback, shortenPath, formatFlowToolCall, splitOutputLines, renderToolTraces, renderFlowReport }; //# sourceMappingURL=traces.d.ts.map