/** * Research-corpus markdown-view renderers (#1490). * * TypeScript port of build.py's 12 renderers. Output is byte-identical to the * Python source (modulo the volatile `Generated:` line). Trailing-newline and * `.rstrip()` behavior is preserved per-renderer because the golden fixtures * diff exactly. * * @source historical: corpus-index-build/build.py */ import { type RefRecord } from './ref-parser.js'; export interface RenderContext { records: RefRecord[]; corpusRoot: string; generated: string; checksum: string; } export declare const SUPPORTED_VIEWS: readonly ["by-year", "by-topic", "authors", "by-venue", "by-method", "by-model-size", "training-pipeline", "citation-network", "by-author", "by-org", "by-bridge", "unprofiled-hubs", "by-grade", "radar-stale-queue", "by-trajectory", "by-source", "by-curator", "by-funder", "by-source-type", "by-project", "project-impact"]; export type ViewName = (typeof SUPPORTED_VIEWS)[number]; /** Render one named view. Throws on an unsupported name (mirrors build.py build_graph). */ export declare function renderView(name: string, ctx: RenderContext): string; /** Default output path for a view: entry.output or indices/.md. */ export declare function outputForView(name: string, output: string | undefined): string; //# sourceMappingURL=renderers.d.ts.map