/** * Adapter from `(ParsedImport, WorkspaceIndex)` → concrete file path. * * Delegates to the existing `resolvePythonImportInternal` (PEP-328 * relative resolution + standard suffix matching). The `WorkspaceIndex` * is opaque at this layer; consumers wire a `PythonResolveContext` * shape carrying `fromFile` + `allFilePaths`. * * Returning `null` lets the finalize algorithm mark the edge as * `linkStatus: 'unresolved'`. */ import type { ParsedImport, WorkspaceIndex } from '../../../../_shared/index.js'; export interface PythonResolveContext { readonly fromFile: string; /** `ReadonlySet` so the orchestrator's stable run-level set flows straight * through to `getPythonFileIndex`'s `WeakMap` key (built once per run, not * copied per import). The whole resolver chain only reads the set. */ readonly allFilePaths: ReadonlySet; } export declare function resolvePythonImportTarget(parsedImport: ParsedImport, workspaceIndex: WorkspaceIndex): string | null;