import type { TraceData, Detection } from '../../shared/types/index.js'; import type { IDetector, DetectionContext } from '../interfaces/index.js'; import { AdapterCapability } from '../../adapters/interfaces/index.js'; import { ScoringService } from '../scoring/index.js'; export declare class LayoutThrashDetector implements IDetector { private readonly scoringService; readonly name = "LayoutThrashDetector"; readonly priority = 1; readonly requiredCapabilities: AdapterCapability[]; constructor(scoringService: ScoringService); detect(trace: TraceData, context: DetectionContext): Promise; private extractLayoutEvents; private isLayoutEvent; private extractSelector; private extractNodeCount; private extractStackTrace; private findThrashingPatterns; private groupEventsByFrame; private detectRapidLayouts; private createReadWritePattern; private createDetection; }