import { type LspServerSpec } from "./servers.js"; /** * A TS server rooted at a leaf project cannot discover its enclosing solution's * unopened consumers. Use the outermost enclosing solution that references this * project, within the session workspace. tsserver still owns files/include/exclude * and reference-graph semantics; this does not create or rewrite any config. * Other languages and standalone/configless projects keep their nearest root. */ export declare function findServerProjectRoot(filePath: string, spec: LspServerSpec, workspace: string, signal?: AbortSignal): Promise;