type AppScores = { activity?: number; maturity?: number; learning?: number; contribution?: number; docs?: number; overall?: number; }; /** * Format a single score (0-100) into a 0-5 "tier" used by the UI: * * 0-19 → 0 (very low) * 20-39 → 1 (low) * 40-59 → 2 (medium) * 60-79 → 3 (high) * 80-100 → 4 (very high) * * The list page renders each score as a 4-cell bar; this gives the * visual a stable shape regardless of the underlying number. */ export declare function scoreTier(n: number): 0 | 1 | 2 | 3 | 4; /** Compact textual label for a score tier (used in tooltips). */ export declare function scoreTierLabel(n: number): string; /** Short numeric label used inline next to a score bar, e.g. "82". */ export declare function scoreLabel(n: number | undefined): string; /** Order of score dimensions, used by both list and detail. */ export declare const SCORE_DIMENSIONS: (keyof AppScores)[]; /** Human-readable label for a score dimension. */ export declare const SCORE_LABELS: Record; /** * Reasoning copy per dimension, surfaced in the detail page so the * numbers don't feel magical. These are intentionally short — the * curation.notes on each item carries the longer story. */ export declare const SCORE_REASONING: Record; export {}; //# sourceMappingURL=directory-scores.d.ts.map