import type { ChunkStore } from "../storage/chunk-store.js"; import type { DocEdgeStore } from "../storage/doc-edge-store.js"; import type { CodeChunk } from "../types/index.js"; export interface DocLinkResult { docChunksProcessed: number; mentionsCreated: number; resolvedCount: number; } export declare function buildDocLinks(chunkStore: ChunkStore, docEdgeStore: DocEdgeStore, docChunks: CodeChunk[]): DocLinkResult; interface Extracted { symbol: string; kind: "backtick" | "fenced_code" | "bare"; confidence: number; } /** * Pull candidate symbol mentions out of a single doc chunk. Dedups on * (symbol, kind) so the same symbol mentioned twice in backticks inside one * chunk still produces one edge. */ export declare function extractMentions(doc: CodeChunk, knownSymbols: Set): Extracted[]; export {};