import type { ParsedFile } from "../../../../core/ports/parser.port.js"; import { type SyntaxNode } from "../../../../infrastructure/parser/ts-utils.js"; import type { PythonDeclarationIndex } from "../../index/python/declarations.js"; import type { PythonImportIndex } from "../../index/python/imports.js"; export type AnchorModuleView = { readonly file: ParsedFile; readonly imports: PythonImportIndex; readonly declarations: PythonDeclarationIndex; }; export type ServingCall = { readonly symbol: string; readonly node: SyntaxNode; readonly relPath: string; }; export type ServeAnchors = { /** Keys of the calls a served application transitively holds. */ readonly anchored: ReadonlySet; readonly unresolved: readonly ServingCall[]; }; type Modules = ReadonlyMap; export declare function siteKey(relPath: string, node: SyntaxNode): string; /** * The registrations a serving call reaches. Everything else the unit declares * is a route table nothing serves, which project-map:DLT-045 refuses to publish * at a path. */ export declare function pythonServeAnchors(modules: Modules): ServeAnchors; export {};