import ts from 'typescript'; import type { SpiDiagnostic, SpiEdge, SpiEdgeConfidence, SpiSymbol } from './types.js'; export type NestTokenBinding = { classSymbolId: string; confidence: SpiEdgeConfidence; }; export type NestTokenMap = Map; export type DetectNestFrameworkContext = { program: ts.Program; sourceFile: ts.SourceFile; fileId: string; symbolsByFile: Map; edges: SpiEdge[]; diagnostics: SpiDiagnostic[]; pathToFileId: Map; checker: ts.TypeChecker; tokenMap: NestTokenMap; }; export type CollectNestTokenMapOptions = { sourceFiles: readonly ts.SourceFile[]; pathToFileId: Map; checker: ts.TypeChecker; }; export declare function collectNestTokenMap(opts: CollectNestTokenMapOptions): NestTokenMap; export declare function detectNestFramework(ctx: DetectNestFrameworkContext): void;