import { AgentDecisionReceipt, AgentTool, ReputationLedgerStats, ReputationScore } from '../types.js'; export declare class ReputationLedger { private receipts; private scores; private keyPairs; private ledgerHash; private initialized; init(): Promise; /** Sign and record a decision. Returns receipt with signature. */ sign(input: { agentTool: AgentTool; agentVersion: string; projectId: string; decision: string; category: string; confidence: number; }): Promise; /** Record the outcome for a prior decision (correctness verdict). */ recordOutcome(receiptId: string, verdict: 'correct' | 'incorrect' | 'partial'): Promise; /** Verify a receipt's signature against its stored public key. */ verify(receipt: AgentDecisionReceipt): Promise; /** Get reputation for an agent (across all versions) or specific agent+version. */ getScore(agentTool: AgentTool, agentVersion?: string): ReputationScore | null; /** Export reputation as a portable JSON suitable for sharing. */ exportPortable(): { agents: ReputationScore[]; ledgerHash: string; generatedAt: string; }; /** Generate a shields.io-compatible badge line for a README. */ badge(agentTool: AgentTool, agentVersion?: string): string | null; stats(): ReputationLedgerStats; private ensureKeyPair; private keyFor; private blankScore; private updateScoreForReceipt; private persistScores; private persistKeys; } export declare function getReputationLedger(): ReputationLedger; export declare function resetReputationLedgerForTests(): void; //# sourceMappingURL=reputation-ledger.d.ts.map