import type { ErrorRecord } from '../types/error.types.js';
export interface ErrorPattern {
    errorType: string;
    messageTemplate: string;
    messageRegex: string;
    filePattern: string | null;
    occurrences: number;
    errorIds: number[];
    solutionIds: number[];
    confidence: number;
    successRate: number;
}
/**
 * Extract patterns from error records using centroid-based clustering.
 */
export declare function extractPatterns(errors: ErrorRecord[], similarityThreshold?: number): ErrorPattern[];
