/**
 * Bottleneck Detector
 *
 * Analyzes load test results and code patterns to identify performance bottlenecks.
 * Uses semantic analysis to reduce false positives on intentional patterns.
 *
 * @module scanners/scale/bottleneck-detector
 */
import type { Bottleneck, LoadTestResult } from "./types.js";
export interface ExtendedBottleneck extends Bottleneck {
    confidence: number;
    isLikelyFalsePositive: boolean;
    falsePositiveReason?: string;
}
export interface DetectBottlenecksOptions {
    includeAllConfidence?: boolean;
    minConfidence?: number;
}
/**
 * Detect bottlenecks in a project
 */
export declare function detectBottlenecks(projectPath: string, loadTestResults?: LoadTestResult, options?: DetectBottlenecksOptions): Promise<ExtendedBottleneck[]>;
/**
 * Calculate bottleneck score (100 = no bottlenecks)
 * Now factors in confidence - low confidence findings have less impact
 */
export declare function calculateBottleneckScore(bottlenecks: Bottleneck[] | ExtendedBottleneck[]): number;
//# sourceMappingURL=bottleneck-detector.d.ts.map