import { SymbolTable } from "../symbolTable.js"; import { AgencyConfig } from "../config/config.js"; import { AgencyProgram } from "../types.js"; import { VariableType } from "../types/typeHints.js"; type SymbolRegistry = Record; type DocContext = { baseUrl?: string; sourceRelPath?: string; symbolRegistry: SymbolRegistry; currentMdPath?: string; config: AgencyConfig; /** Built on first use, PER PAGE (each page gets a fresh DocContext). */ symbolTable?: SymbolTable; /** When set, formatTypeLinked records every registry lookup it makes: * name → target md path, or null for "rendered unlinked". This is the * cache's evidence for re-checking links against next run's registry. */ linkRecorder?: Record; }; export declare function generateDoc(config: AgencyConfig, inputPath: string, outputDir: string, ignoreDirs?: string[], baseUrlOverride?: string): void; /** The names this file renders a `###` section for — exactly the set a * link may resolve to; a name here with no section is a broken anchor. * Cached per page, so an unchanged file costs no parse. */ export declare function extractRegistrySymbols(program: AgencyProgram): string[]; /** Source lines of a `@hidden` that attached to no declaration — at the * end of a file, or above a statement inside a body. Warning is the only * way the author finds out. */ export declare function strayHiddenLines(program: AgencyProgram): number[]; export declare function formatTypeLinked(type: VariableType | undefined | null, ctx: DocContext): string; export { extractSummaryOverride, firstParagraph, firstSentence, sanitizeDescription, moduleDescription, } from "../utils/moduleDoc.js";