interface GetProjectDirOptions { monorepoRoot?: boolean; } export declare function getMonorepoRoot(curDirectory?: string): string | undefined; /** Gets the base project directory (for monorepos, the root project) using the following heuristic: - There must be a package.json file in the base project directory root - If the directory with a package.json does not have a pnpm-lock.yaml, it means that the project is part of a monorepo. - If a monorepo was detected, that means that the base directory must have a pnpm-workspace.yaml file with a `packages` property that has a matching glob entry that matches */ export declare function getProjectDir(pathUrl: string, options?: GetProjectDirOptions): string; export declare function chProjectDir(pathUrl: string, options?: GetProjectDirOptions): void; export {};