import { type Debugger } from 'debug'; import { Graph, GraphNode } from '../graph/index.js'; import { Package } from './package.js'; import type { ModuleNode, PackageNode } from '../types.js'; import type { ProjectGraph } from './project-graph.js'; import type { IResolveOptions } from '../../types/dependency-cruiser/index.js'; export type PackageGraphOptions = { basePath: string; entrypoint?: string; parent?: GraphNode; project?: ProjectGraph; }; export declare class PackageGraph { #private; protected debug: Debugger; protected baseDir: string; protected package: Package; protected entrypoint?: string; protected parentNode?: GraphNode; protected projectGraph?: ProjectGraph; constructor(p: Package, options: PackageGraphOptions); get graph(): Graph; discover(): Graph; isFileExternalToPackage(relativePath: string): boolean; get resolveOptions(): IResolveOptions; addNode(m: ModuleNode): GraphNode; } //# sourceMappingURL=package-graph.d.ts.map