import type { Severity, Verdict } from "@hookwarden/engine"; export interface ColorOptions { readonly useAnsi: boolean; } /** * Glyph + label rendered as the first column of a finding header. * The glyph color carries the severity signal, the label disambiguates. */ export declare function severityHeaderInline(s: Severity, opts: ColorOptions): string; /** * Bare colored severity text (no glyph) — used by the summary footer's * "1 critical · 0 high · ..." line where the glyph would add noise. */ export declare function severityColor(s: Severity, text: string, opts: ColorOptions): string; /** * Three-state verdict tag, bracket-wrapped — used by the inventory * renderer where brackets visually delimit a tabular column. Findings * renderer uses {@link stateText} instead (its column spacing already * disambiguates). */ export declare function stateBadge(state: Verdict, opts: ColorOptions): string; /** * Paint arbitrary text in a verdict's color — used by the v0.7.3 verbose * summary footer's verdict-tally row to color the counts ("1 verified", * "4 not-verified", "2 manual-review") in the matching verdict color. */ export declare function verdictColor(state: Verdict, text: string, opts: ColorOptions): string; /** * Three-state verdict text without brackets — used by the compact * findings renderer where the bracket wrapping is redundant with the * column gap. */ export declare function stateText(state: Verdict, opts: ColorOptions): string; /** * `fix ›` / `docs ›` prefix for action items inside a finding body. * Accent-tinted (locked palette `#6366F1`) so the eye lands on the * actionable line, not the explanatory paragraph above it. */ export declare function actionPrefix(label: "fix" | "docs" | "next" | "refs", opts: ColorOptions): string; /** * Paint arbitrary text in the brand accent (#6366F1) — used by the v0.7.3 * Stitch verbose-mode renderer for FIX-box framing and section dividers * where `actionPrefix` doesn't fit (no `… ›` shape, no fixed label set). */ export declare function accent(text: string, opts: ColorOptions, bold?: boolean): string; export declare function ansiLink(url: string, display: string, opts: ColorOptions): string; /** Subtle slate for secondary text (rule ids, scan-stats footer). */ export declare function dim(text: string, opts: ColorOptions): string; /** * @deprecated kept for back-compat with existing callers (summary.ts). * The new findings renderer uses {@link severityHeaderInline} instead. * Renders the prior full-width banner shape for callers that haven't * migrated yet. */ export declare function severityHeader(s: Severity, opts: ColorOptions): string; //# sourceMappingURL=colors.d.ts.map