import type { KernelScoreResult, ScoreResult } from './types.js'; /** A score as text for display: `85%`, or `unknown (—)` when the result says * the score is not known (`unknown: true` — an About Repo with no * source_score). Never `-1%`. */ export declare function scoreText(result: Pick): string; /** Convert kernel result into enriched ScoreResult */ export declare function enrichScore(kernel: KernelScoreResult): ScoreResult; /** * Score a .faf YAML string with About-Repo short-circuit. * * About is a repo role, not an app_type. The signal is the `about:` block * (`about.represents`). The scorer reads `about.source_score` and emits * that directly — no slot scoring, no kernel call. * * Optional: `about.source_score: ` — without it the score is not * known: the result carries `unknown: true` (with score -1 and a White tier * as placeholders). Render that as "unknown" (—), never as "-1/100" or "-1%". * * Doctrine: memory/private-source-public-about-pattern.md. * * For apps: delegates to kernel.score() + enrichScore(). */ export declare function scoreFafYaml(yaml: string): ScoreResult;