import type { SourceFile } from "ts-morph"; export interface LyseTsMorphProject { /** * Returns a `SourceFile` for `absolutePath`, either from cache or by * adding it to the project on demand. Returns `undefined` if the file * cannot be added (missing, malformed, etc.). */ getSourceFile(absolutePath: string): SourceFile | undefined; /** * Drops the cached `Project`. Intended for tests; production code does * not need to call this — the cache lives for the duration of one CLI * invocation. */ clear(): void; } export declare function getTsMorphProject(repoRoot: string): LyseTsMorphProject;