socraticode
Version:
SocratiCode — MCP server for local codebase indexing, semantic search, and code dependency graphs. All private, all local via Docker.
15 lines • 698 B
TypeScript
import { type PathAliases } from "./graph-aliases.js";
import type { ImportInfo } from "./graph-imports.js";
import type { GraphInputRecorder } from "./graph-inputs.js";
interface ImportContext {
aliases: PathAliases;
resolve(imp: ImportInfo): string | null;
}
/**
* One build's importer contexts. The compiler owns config inheritance and
* package resolution; the host supplies declared workspace links without
* installing packages or changing the indexed tree.
*/
export declare function createTypeScriptResolver(projectPath: string, fileSet: Set<string>, recorder: GraphInputRecorder): (sourceFile: string) => ImportContext;
export {};
//# sourceMappingURL=graph-typescript.d.ts.map