/**
 * Multi-Model Consensus Calculator
 *
 * Calculates inter-model agreement and merges findings from multiple LLM providers.
 *
 * @module multimodel/consensus
 */
import type { Finding, AgentType } from "../certification/types.js";
import type { ModelRunResult, FindingMatch, ModelDisagreement, MultiModelConsensus } from "./types.js";
/**
 * Calculate similarity between two findings
 * Returns a score from 0-100
 */
export declare function calculateFindingSimilarity(a: Finding, b: Finding): number;
/**
 * Calculate string similarity using Jaccard index on words
 */
export declare function calculateStringSimilarity(a: string, b: string): number;
/**
 * Match findings across multiple model results
 */
export declare function matchFindings(results: ModelRunResult[], threshold?: number): FindingMatch[];
/**
 * Identify disagreements between models
 */
export declare function findDisagreements(matches: FindingMatch[], results: ModelRunResult[]): ModelDisagreement[];
/**
 * Calculate Fleiss' kappa for inter-rater reliability
 * https://en.wikipedia.org/wiki/Fleiss%27_kappa
 */
export declare function calculateFleissKappa(matches: FindingMatch[], results: ModelRunResult[]): number;
/**
 * Merge findings from multiple models into a single list
 */
export declare function mergeFindings(matches: FindingMatch[], results: ModelRunResult[], options?: {
    requireMajority?: boolean;
}): Finding[];
/**
 * Calculate multi-model consensus
 */
export declare function calculateMultiModelConsensus(certificationId: string, agent: AgentType, results: ModelRunResult[], options?: {
    matchThreshold?: number;
    requireMajority?: boolean;
}): MultiModelConsensus;
/**
 * Generate a human-readable summary of consensus
 */
export declare function generateConsensusSummary(consensus: MultiModelConsensus): string;
//# sourceMappingURL=consensus.d.ts.map