import { type DependenciesField, type Finder, type Registries } from '@pnpm/types'; import { type DependencyNode } from './DependencyNode.js'; export interface DependenciesTree { dependencies?: DependencyNode[]; devDependencies?: DependencyNode[]; optionalDependencies?: DependencyNode[]; unsavedDependencies?: DependencyNode[]; } export declare function buildDependenciesTree(projectPaths: string[] | undefined, maybeOpts: { depth: number; excludePeerDependencies?: boolean; include?: { [dependenciesField in DependenciesField]: boolean; }; registries?: Registries; onlyProjects?: boolean; search?: Finder; showDedupedSearchMatches?: boolean; lockfileDir: string; checkWantedLockfileOnly?: boolean; modulesDir?: string; virtualStoreDirMaxLength: number; }): Promise<{ [projectDir: string]: DependenciesTree; }>;