/**
* Walks from `startDir` up to the filesystem root, returning the first
* `
/node_modules/` that exists, or `null`. Matches Node's own
* module resolution so packages hoisted to a monorepo root (e.g. by bun or
* yarn workspaces) are found from a nested project directory.
*
* Use this as the building block for any plugin lookup that historically
* checked only `/node_modules`. For SDK resolution specifically
* use `resolveSDKPackageDir`, which layers multi-package disambiguation and
* shadowed-copy warnings on top of this.
*/
declare function findInAncestorNodeModules(startDir: string, name: string): string | null;
export { findInAncestorNodeModules };
//# sourceMappingURL=find-in-ancestor-node-modules.d.ts.map