export declare function hasRootMarker(projectRoot: string, rootMarkers?: readonly string[]): boolean; /** * True when `/package.json` lists any name from `depNames` * in its `dependencies`, `devDependencies`, or `peerDependencies` maps. * * GitHub issue #48: Vue/Astro/Svelte projects fail the bounded extension * walk for monorepo layouts. Detecting them by package.json dep name * catches Vite-based setups and other frameworks where no framework- * specific config file exists at the project root. * * Reads package.json once per call. Failures (missing file, invalid JSON, * I/O error) return false — this signal is additive, never blocking. */ export declare function hasPackageJsonDep(projectRoot: string, depNames?: readonly string[]): boolean; /** * Bounded extension scan for project relevance decisions. * * Root-marker checks happen before callers use this helper. This walk only * answers "does this project contain one of the extensions we know how to * serve?" and deliberately skips common dependency/build/cache directories so * vendored files do not trigger heavyweight LSP installs. */ export declare function relevantExtensionsInProject(projectRoot: string, extToServer: Readonly>): Set; //# sourceMappingURL=lsp-project-relevance.d.ts.map