/** * Pattern Detection Service * * Detects design patterns and coding patterns in code */ import type { PatternDetector, PatternInfo } from "../types/index.js"; /** * Pattern Registry for extensible pattern detection */ export declare class PatternRegistry { private static instance; private detectors; private constructor(); static getInstance(): PatternRegistry; /** * Register a pattern detector */ register(detector: PatternDetector): void; /** * Detect all patterns in code */ detectPatterns(code: string, language: string): PatternInfo[]; /** * Get all registered pattern names */ getRegisteredPatterns(): string[]; private registerDefaultPatterns; } /** * Singleton instance for easy access */ export declare const patternRegistry: PatternRegistry; /** * Detect patterns in code */ export declare function detectPatterns(code: string, language: string): PatternInfo[]; //# sourceMappingURL=pattern-detection.d.ts.map