//#region src/detect-monorepo.d.ts type MonorepoInfo = { /** Absolute path to the monorepo workspace root. */rootDir: string; /** Which workspace marker was found. "workspaces" covers npm/yarn/bun. */ kind: "pnpm" | "workspaces" | "rush"; }; /** * Walk upward from `startDir` looking for a monorepo workspace root. Returns * null if no marker is found before a VCS-root boundary (`.git`, `.hg`, or * `.svn`) or the filesystem root is reached. The VCS-bearing directory is * itself checked for workspace markers before traversal stops, so a * workspace root and a repo root may coincide. * * Supported markers: * - `pnpm-workspace.yaml` * - `package.json` containing a `workspaces` field (npm, yarn, bun) * - `rush.json` */ declare function detectMonorepo(startDir?: string): MonorepoInfo | null; //#endregion export { type MonorepoInfo, detectMonorepo }; //# sourceMappingURL=index.d.cts.map