import type { ParsedFile } from "../../../../core/ports/parser.port.js"; export type GoImportIndex = { /** Import path bound to a package qualifier inside this file. */ pathOf(qualifier: string): string | null; }; export declare function goImportIndex(file: ParsedFile): GoImportIndex; /** * Whether a declared origin names an import path. Matching is on whole path * segments from the right, so `go-chi/chi/v5` matches a vendored copy of the * same module and never `fake-go-chi/chi/v5`. */ export declare function goOriginMatches(declared: string, importPath: string): boolean;