/** * Shared helper: walk up from a starting directory to find AIWG's package root * (the directory containing the package.json with name === 'aiwg'). * * Required because the compiled layout (dist/src//.js) and the * source layout (src//.ts) are different depths from the package * root, so fixed `../../` walks break in one of the two modes. Walking up to * the `aiwg` package.json works in both. * * @issue #1261 */ /** * Walk up from `startDir` looking for a `package.json` with `name === 'aiwg'`. * Returns the directory containing that package.json, or `null` if not found * within `maxDepth` levels. */ export declare function findPackageRoot(startDir: string, maxDepth?: number): string | null; //# sourceMappingURL=find-package-root.d.ts.map