import type { ComponentEnrichment, ComponentInfo, Detector, ParseContext } from './types.js'; /** * React Context detector. * - Phase 1: finds `const X = createContext(…)` → adds context node * - Phase 2: for each component: * - useContext(X) → context-subscription edge * - → context-provision edge (+ marks isContextProvider) */ export declare class ContextDetector implements Detector { readonly name = "context"; detectDeclarations(ctx: ParseContext): void; enrichComponent(component: ComponentInfo, ctx: ParseContext): ComponentEnrichment; } //# sourceMappingURL=context.detector.d.ts.map