export type SubcommandResult = { code: number; lines: string[]; }; /** * #15 — schema discriminator for the `harness score` badge JSON (`--json` / `--out`). It lets a * downstream consumer detect this shape at the data layer and REFUSE the wrong one: `harness score` * (this flat badge set) and `metaharness score` (the repo-scorecard, numeric `schema: 1`) are * DIFFERENT operations with different keys, and an unmarked badge blob silently mis-parsed as the * metaharness scorecard (every numeric field defaulting to 0). A string id is unambiguously distinct * from the numeric `schema: 1`. */ export declare const HARNESS_SCORE_SCHEMA = "harness-quickcheck-v1"; interface DimensionScore { name: string; weight: number; score: number; signals: string[]; } export interface Scorecard { schema: 1; generatedAt: string; dir: string; overall: number; grade: 'A' | 'B' | 'C' | 'F'; dimensions: DimensionScore[]; badges: { score: number; mcpRisk: 'Low' | 'Medium' | 'High' | 'None'; releaseReady: boolean; testsDetected: boolean; sbom: boolean; witnessSigned: boolean; }; exitCode: 0 | 1 | 2; } export declare function buildScorecard(dir: string, generatedAt?: string): Scorecard; export declare function formatScorecard(sc: Scorecard): string[]; export declare function scoreCmd(args: string[]): Promise; export {}; //# sourceMappingURL=score.d.ts.map