export declare function findDepPackageJson(location: string, dep: string): string | undefined;
/**
 * Collects the non-optional peerDependencies declared by a package's direct
 * dependencies. A devDependency that satisfies one of these peer requirements
 * should not be flagged as unused. Optional peers are excluded — a devDep
 * that only satisfies an optional peer is not actually needed and may be
 * removed safely if not otherwise referenced.
 */
export declare function getRequiredPeerDependencies(location: string, allDeps: string[]): Set<string>;
//# sourceMappingURL=getRequiredPeerDependencies.d.ts.map