/** * Interface for path mapping configuration */ export interface PathMapping { extractedPath: string; actualPath: string; } /** * Map of extracted paths to actual paths */ export type PathMappings = Map; /** * Interface representing a parsed project path */ export interface ProjectPathInfo { projectPath: string; verifiedPath: string; projectPathExists?: boolean; } /** * Create path mappings from mapping data * @param mappings Array of path mapping objects * @returns Map of extracted paths to actual paths */ export declare function createPathMappings(mappings: PathMapping[]): PathMappings; /** * Verify if a project path exists on the file system * @param projectPath The extracted project path * @param basePath Base directory to check against * @param pathMappings Optional path mappings to use for verification * @returns Verified path information */ export declare function verifyProjectPath(projectPath: string, basePath: string, pathMappings?: PathMappings): ProjectPathInfo; /** * Extract project information from a dependency path based on origin type * @param dependencyPath The path from the Black Duck report * @param originName The origin name (e.g., npmjs, maven, nuget, pypi, sbt) * @param basePath Optional base path to verify against * @returns Object containing project path and verified path information */ export declare function extractProjectInfo(dependencyPath: string, originName: string, basePath?: string, pathMappings?: PathMappings): ProjectPathInfo;