/** * Research-corpus markdown-view builder (#1490). * * The native replacement for the retired `corpus-index-build/build.py`. * `aiwg index build` invokes this in the same process that builds the JSON * graphs, so the corpus is parsed once. Reads the view manifest from * `index.graphs.indices.manifest` (canonical `.aiwg/aiwg.config`, #1491). * * @source historical: corpus-index-build/build.py (configured_graphs, main) */ export interface ViewResult { graph: string; status: 'built' | 'skipped' | 'unsupported'; output: string; papers?: number; error?: string; } export interface BuildViewsOptions { /** Force re-render even when the source checksum is unchanged. */ force?: boolean; /** Build only this named view (when the operator passed `--graph `). */ only?: string; } /** * Resolve the corpus root (#1497): `AIWG_CORPUS_ROOT` env > `research.corpusRoot` * in `.aiwg/aiwg.config` > the project root (cwd). Relative values resolve * against cwd. */ export declare function resolveCorpusRoot(cwd: string): Promise; /** * Render the configured research-corpus markdown views. Returns one result per * selected view. Returns `[]` (renders nothing) when the corpus root has no * `documentation/references/` corpus — so this is a safe no-op in ordinary * SDLC projects. */ export declare function buildCorpusViews(cwd: string, opts?: BuildViewsOptions): Promise; //# sourceMappingURL=build.d.ts.map