jsii
Version:
[](https://cdk.dev) [
*/
export declare function findUp(directory: string, pred: (dir: string) => boolean): string | undefined;
/**
* Find the package.json for a given package upwards from the given directory
*
* (This code is duplicated among jsii/jsii-pacmak/jsii-reflect. Changes should be done in all
* 3 locations, and we should unify these at some point: https://github.com/aws/jsii/issues/3236)
*/
export declare function findPackageJsonUp(packageName: string, directory: string): string | undefined;
/**
* Find the directory that contains a given dependency, identified by its 'package.json', from a starting search directory
*
* (This code is duplicated among jsii/jsii-pacmak/jsii-reflect. Changes should be done in all
* 3 locations, and we should unify these at some point: https://github.com/aws/jsii/issues/3236)
*/
export declare function findDependencyDirectory(dependencyName: string, searchStart: string): string;
//# sourceMappingURL=find-utils.d.ts.map