import type { ScanResult, DepSource } from "../dependencies/scan.js"; export interface ScanProjectInput { projectPath?: string; } interface FlattenedDependency { groupId: string; artifactId: string; version: string | null; configuration: string; module?: string; /** * File path of the artifact that declared this dependency. * Catalog entries: TOML file path (e.g. "gradle/libs.versions.toml"). * Direct/plugin/buildscript entries: build file name (e.g. "build.gradle.kts", "pom.xml"). * Preserved for backward compatibility — use sourceKind for the new discriminator. */ source: string; /** Discriminator for the dependency source kind (e.g. "catalog-library", "module-direct", "plugins-dsl"). */ sourceKind: DepSource["kind"]; } export interface FlatScanResult { buildSystem: ScanResult["buildSystem"]; dependencies: FlattenedDependency[]; } export declare function scanProjectDependenciesHandler(input: ScanProjectInput): FlatScanResult; export {};