1export declare const NPM_LOCK_FILE = "package-lock.json"; 2export declare const YARN_LOCK_FILE = "yarn.lock"; 3export declare const PNPM_LOCK_FILE = "pnpm-lock.yaml"; 4export declare const PNPM_WORKSPACE_FILE = "pnpm-workspace.yaml"; 5/** Wraps `find-yarn-workspace-root` and guards against having an empty `package.json` file in an upper directory. */ 6export declare function findYarnOrNpmWorkspaceRoot(projectRoot: string): string | null; 7/** 8 * Find the `pnpm-workspace.yaml` file that represents the root of the monorepo. 9 * This is a synchronous function based on the original async library. 10 * @see https://github.com/pnpm/pnpm/blob/main/packages/find-workspace-dir/src/index.ts 11 */ 12export declare function findPnpmWorkspaceRoot(projectRoot: string): string | null; 13