import { default as React } from 'react'; import { ContentRef } from '../../content/types'; export interface MarkdownViewerProps { /** Markdown source to render (inline). */ content?: string; /** * A #241 reference to the Markdown source (host asset / pack asset). When * present it takes over from `content`, resolved lazily through the mounted * content resolver — the "long document as a `.md` file" pattern. */ contentRef?: ContentRef; /** File name shown in the info bar. */ fileName?: string; } /** * MarkdownViewer (#137) — an era-appropriate document viewer for `.md` files. * Renders Markdown with a small built-in renderer (no heavyweight dependency) * inside XP window chrome. Notepad stays the plain-text editor. */ declare const MarkdownViewer: React.FC; export default MarkdownViewer;