/** * Drift Detector * * Detects deviations from the knowledge graph: * - Token drift: new/changed/removed tokens * - Recipe drift: composition recipe inconsistencies * - Naming drift: naming convention violations */ import { Signal, CompositionRecipe } from '../types.js'; import type { TokenTaxonomy } from '../knowledge-graph/token-taxonomy.js'; import type { ComponentIndex } from '../knowledge-graph/component-index.js'; export declare class DriftDetector { /** * Detect new, changed, or removed tokens in the codebase */ detectTokenDrift(rootDir: string, taxonomy: TokenTaxonomy): Promise; /** * Detect deviations from canonical composition recipes */ detectRecipeDrift(rootDir: string, recipes: CompositionRecipe[]): Promise; /** * Detect naming convention violations */ detectNamingDrift(rootDir: string, componentIndex: ComponentIndex): Promise; /** * Detect if a component deviates from an expected recipe */ private detectRecipeInComponent; } //# sourceMappingURL=drift-detector.d.ts.map