import type { ProjectGraphProjectNode } from '@nx/devkit'; type ProjectRootMappings = Map; /** * This creates a map of project roots to project names to easily look up the project of a file * @param nodes This is the nodes from the project graph */ export declare function createProjectRootMappings(nodes: Record): ProjectRootMappings; /** * Locates a project in projectRootMap based on a file within it * @param filePath path that is inside of projectName. This should be relative from the workspace root * @param projectRootMap Map Use {@link createProjectRootMappings} to create this */ export declare function findProjectForPath(filePath: string, projectRootMap: ProjectRootMappings): string | undefined; export declare function normalizeProjectRoot(root: string): string; export {}; //# sourceMappingURL=find-project-for-path.d.ts.map