import type { DetectedProject, FileRecord } from "../workspace/types.js"; import type { SourceResolution } from "./resolver.js"; export interface PythonResolverContext { readonly files: readonly FileRecord[]; readonly projects: readonly DetectedProject[]; readonly sourcePaths: ReadonlySet; } export declare function isPythonSourcePath(path: string): boolean; /** * Resolves Python imports for the source graph. Relative module imports carry * the relative-explicit missing-target proof; bare `from . import name` * attribute imports and absolute internal imports without a present file are * edges or limitations without a missing-target proof, because Python can * resolve them through attributes, namespace packages, or path configuration. */ export declare function resolvePythonImport(importerPath: string, specifier: string, context: PythonResolverContext): SourceResolution; //# sourceMappingURL=python-resolver.d.ts.map