import type { Report } from "../evaluation/types.js"; import { averageMetrics } from "../evaluation/shared.js"; export declare function esc(s: string): string; /** Escape a string for safe use inside a JS string literal within an HTML attribute. */ export declare function escJs(s: string): string; /** HTML-escape then convert **bold** markers to for agent name emphasis. */ export declare function escBold(s: string): string; export declare const avgMetrics: typeof averageMetrics; export declare function conversationHealth(metrics: Record, policyFailures?: number): "healthy" | "attention" | "critical"; export declare function buildConvAgentMap(report: Report): Map; /** Describe which metrics are low for a conversation — replaces generic "Low quality scores detected". */ export declare function describeWeakMetrics(metrics: Record): string; /** Strip HTML tags and decode common entities so content renders as plain text. */ export declare function stripHtml(s: string): string; export declare function formatFailureType(type: string): string; export declare function formatSubtype(subtype: string): string; //# sourceMappingURL=helpers.d.ts.map