/**
 * Renderer helpers — turn a `ScoreResult`'s structured provenance
 * into markdown the customer can act on.
 *
 * These functions don't know which dimension they're rendering; they
 * read `topActions[]` + `capsApplied[]` from any spec output and
 * produce consistent prose. Per-dimension renderers (the analyzer
 * subdirs) call into here so the "Top Actions" surface looks the
 * same across every dimension's report.
 */
import type { CapApplied, ScoreResult, TopAction } from './result';
/**
 * Subset of `DimensionScore` the formatters need. Lets the health-side
 * `DimensionScore` and any future direct `ScoreResult` consumer share
 * the same renderer without coupling on the full health type.
 */
export interface ScoreResultLike {
    readonly score: number;
    readonly rating: ScoreResult['rating'];
    readonly rawScore?: number;
    readonly rawPenalty?: number;
    readonly capsApplied?: readonly CapApplied[];
    readonly topActions?: readonly TopAction[];
}
/** One-line top-action summary, suitable for table cells / CLI grids. */
export declare function formatTopActionLine(score: ScoreResultLike): string;
/**
 * Markdown block listing the top N actions for a dimension. Returns
 * an empty array (no lines) when the dimension has no actionable
 * items — caller decides whether to suppress the section header in
 * that case.
 */
export declare function formatTopActionsBlock(score: ScoreResultLike, limit?: number): string[];
//# sourceMappingURL=format.d.ts.map