import type { ParsedFile } from "../../../../core/ports/parser.port.js"; export type PythonImportIndex = { /** Fully qualified origin of a from-imported symbol, by its local name. */ originOf(localName: string): string | null; /** Module bound by an `import x.y` or `import x.y as z` statement. */ moduleOf(localName: string): string | null; /** Whether a module-level definition binds this name over any import. */ isShadowedLocally(name: string): boolean; }; export declare function pythonImportIndex(file: ParsedFile): PythonImportIndex;