/** * Scan orchestrator — selects extractors, merges results. * Language-specific logic lives in src/extractors/*. */ import type { SutraNode, SutraEdge } from "./types.js"; import type { CacheStats } from "./cache.js"; import type { Extractor } from "./extractor.js"; export { collectFiles } from "./extractors/ts.js"; export interface ScanResult { nodes: SutraNode[]; edges: SutraEdge[]; cacheStats?: CacheStats; } export declare function scan(repoRoot: string, options?: { cacheRoot?: string; }): ScanResult; /** Registered extractors (ordered). */ export declare function registeredExtractors(): readonly Extractor[];