import type { Finding } from "../types.js"; export interface ScoreInput { findings: Finding[]; stableSubAxes: Set; confidenceByAxis: Record; /** * Conformal-gated sub-axes (Phase D): subAxisId → confidence threshold θ. A * finding in one of these counts toward the score only if its * `llmJudgement.confidence` is ≥ θ; otherwise it is reported-only. Omitting * the map (or an empty map) is inert — scoring is unchanged. */ conformalSubAxes?: ReadonlyMap; /** * Early-adopter grace factor in [0, 1] for ai-governance findings (#89 / * ADR-0018). A nascent AI surface should not take the full weight of * governance affordances it has not built yet. Each ai-governance finding's * score penalty is scaled by this factor; findings are still reported. * Omitting it (or 1) is inert. See `score/grace.ts`. */ aiGovernanceGrace?: number; } export interface ScoreOutput { score: number; version: string; findingsCountedInScore: number; findingsReportedOnly: number; } export declare function computeScoreV1(input: ScoreInput): ScoreOutput;