/** * Directories from `startDir` upward that still belong to the package's own * install: `startDir` and its ancestors, up to but excluding the first * `node_modules` directory. In a source checkout (no `node_modules` between the * module and the repo root) this reaches the repo root, as monorepo dev needs. */ export declare function ownInstallAncestors(startDir: string, maxDepth?: number): string[]; /** * Candidate `/plugins//<...sub>` directories inside the * package's own install (see {@link ownInstallAncestors}). The `/../plugins` * form (the sibling of a package root) is only produced when that sibling is itself * still inside the own-install boundary. */ export declare function ownPluginDirs(startDir: string, plugin: string, ...sub: string[]): string[]; //# sourceMappingURL=own-install.d.ts.map