import type { PackageJson } from '@vltpkg/package-json'; import type { VlxInfo } from './index.ts'; /** * Find the nearest package in a node_modules folder between the cwd * and the projectRoot. This should only be used to look for local packages. * Note that the `resolved` value in the VlxInfo object is a bit useless, * as we didn't install anything and so don't need to do a full resolution. */ export declare const findPackage: (name: string, projectRoot: string, packageJson: PackageJson) => Promise;