import { ExtractedPattern } from '../types';
import { SecurityPrediction } from '../walls/03-knowledge/decisions/security-predictor';
import { ErrorPrediction } from '../walls/03-knowledge/decisions/error-predictor';
export interface CascadeResult {
    patterns: ExtractedPattern[];
    stepUsed: 'ast' | 'regex' | 'heuristic' | 'combined' | 'none';
    latencyMs: number;
    language?: string;
}
export declare class ExtractionCascade {
    private regexExtractor;
    private heuristicExtractor;
    private astDiffer;
    private securityPredictor;
    private errorPredictor;
    private pythonExtractor;
    private goExtractor;
    constructor();
    detectLanguage(code: string, hint?: string): string;
    extract(originalCode: string, editedCode: string, language?: string): CascadeResult;
    extractAll(originalCode: string, editedCode: string, language?: string): CascadeResult;
    audit(code: string): {
        security: SecurityPrediction[];
        errors: ErrorPrediction[];
    };
    getStats(): {
        astPatterns: number;
        regexPatterns: number;
        heuristicCapabilities: number;
    };
}
//# sourceMappingURL=extraction-cascade.d.ts.map