import type { GraphEdge } from "audit-tools/shared"; export declare function isPythonSourcePath(path: string): boolean; /** * Resolve a single `import ` module specifier to a repo file, or * undefined. Shared with the tree-sitter Python analyzer so AST-extracted * imports resolve to exactly the same targets as the regex floor. */ export declare function resolvePythonImportTarget(fromPath: string, specifier: string, pathLookup: Map): string | undefined; /** * Resolve a `from import ` statement to repo files. Mirrors the * floor: prefer submodule files (`module.name`), else the module itself. Shared * with the tree-sitter Python analyzer. */ export declare function resolvePythonFromImportTargets(fromPath: string, moduleSpecifier: string, importedNames: string[], pathLookup: Map): Array<{ specifier: string; target: string; }>; export declare function extractPythonImportEdges(fromPath: string, content: string, pathLookup: Map): GraphEdge[]; //# sourceMappingURL=graphPythonImports.d.ts.map