/** * Docs view renderer — renders doc content for terminal display. * * Converts markdown to ANSI-formatted terminal output with: * - H1-H3 headings (bold, underlined via dim separators) * - Bold (**bold**) and italic (_italic_) * - Inline code (`code`) with dim background feel * - Fenced code blocks (```) with dim border * - Bullet lists (-, *, +) with indent * - Numbered lists (1., 2.) with indent * - Block quotes (> ) with dim prefix * - Horizontal rules (---, ***) as full-width separators * - Links rendered as [text](url) — url in dim * * Honors `NO_COLOR` and `FORCE_COLOR` env vars. * Width-aware: wraps text at specified or detected terminal width. * * @task T11184 * @epic T10519 * @saga T10516 */ export interface DocsViewOptions { /** Terminal width in columns (default: detected). */ width?: number; /** Override color behavior. */ color?: 'auto' | 'always' | 'never'; } /** * Render markdown content for terminal display. */ export declare function renderDocsView(content: string, metadata?: { slug?: string; type?: string; title?: string; sha256?: string; }, opts?: DocsViewOptions): string; //# sourceMappingURL=view.d.ts.map