import { checkConstraints } from './constraints.js'; export type SubcommandResult = { code: number; lines: string[]; }; export interface RepoScorecard { schema: 1; repo: string; /** 0-100 each. */ harnessFit: number; compileConfidence: number; taskCoverage: number; toolSafety: number; memoryUsefulness: number; /** Estimated USD per harness run (cheap-tier routing, DRACO finding). */ estCostPerRunUsd: number; recommendedMode: 'CLI' | 'CLI + MCP'; archetype: string; template: string; /** All HARD constraints passed → the recommended design is scaffold-ready (ADR-041 validation). */ scaffoldReady: boolean; /** hard-constraints-passed / total (e.g. "6/6"). */ hardConstraints: string; generatedAt: string; } /** * Build the ADR-041 scorecard for a repo directory. Pure + no-exec (only reads * high-signal files via inventory). `generatedAt` is injected for determinism. */ export declare function buildRepoScorecard(dir: string, generatedAt?: string): RepoScorecard; /** Format the scorecard as the ADR-041 6-line card. */ export declare function formatRepoScorecard(sc: RepoScorecard): string[]; /** One candidate harness design (ADR-041 candidate-generation / beam stage). */ export interface CandidateScore { archetype: string; label: string; template: string; harnessFit: number; recommendedMode: 'CLI' | 'CLI + MCP'; } /** * The top-N candidate harness designs for a repo, each scored — the beam-search * candidate-generation stage of ADR-041 over the archetype library. Lets the user * see the alternatives, not just the single recommendation. */ export declare function topCandidates(dir: string, n?: number): CandidateScore[]; /** Full constraint report for a repo's recommended design (ADR-041 validation). */ export declare function repoConstraints(dir: string): { repo: string; results: ReturnType; }; /** Format the top-N candidates as a ranked list. */ export declare function formatCandidates(repo: string, cands: CandidateScore[]): string[]; /** CLI: `metaharness score [--json]`. Mirrors genomeCmd's shape. */ export declare function scoreRepoCmd(args: string[]): Promise; //# sourceMappingURL=repo-scorecard.d.ts.map