1 | /**
|
2 | * Tries to resolve a package using Node.js resolution.
|
3 | * Directory names differing from the package name and alternate lookup paths can be passed.
|
4 | */
|
5 | export declare function tryResolvePackage(possiblePaths: string[], lookupPaths?: string[]): string | undefined;
|
6 | /**
|
7 | * Scans for a package by walking up the directory tree and inspecting package.json
|
8 | * Directory names differing from the package name and an alternate start dir can be passed.
|
9 | */
|
10 | export declare function scanForPackage(possiblePaths: string[], startDir?: string): string | undefined;
|