import type { ErrorRecord } from '../types/error.types.js';
export interface SignalScore {
    signal: string;
    score: number;
    weighted: number;
}
export interface MatchResult {
    errorId: number;
    score: number;
    signals: SignalScore[];
    isStrong: boolean;
}
/**
 * Hybrid error matching: TF-IDF signals + optional vector similarity + synapse boost.
 *
 * @param incoming - The error to match
 * @param candidates - Candidate errors to compare against
 * @param vectorScores - Pre-computed vector similarity scores (errorId → score)
 * @param synapseScores - Pre-computed synapse proximity scores (errorId → score)
 */
export declare function matchError(incoming: ErrorRecord, candidates: ErrorRecord[], vectorScores?: Map<number, number>, synapseScores?: Map<number, number>): MatchResult[];
